Smart City Heat Map


Team


Table of Contents

  1. Introduction
  2. Solution & Impact
  3. Features & Architecture
  4. How to Run
  5. Environment Variables
  6. Running the System Locally
  7. Links

Introduction

The 75Exhibition Heatmap Dashboard is a full-stack web application designed to manage and balance crowd density within the Computer Department exhibition hall (Smart City concept). It provides a real-time visual representation of visitor distribution, updating every 10 seconds. Additionally, it serves as an information hub where users can discover specific exhibits located within each zone by simply clicking on the respective area.


Solution & Impact

Dashboard Features

Impact This centralized monitoring system simplifies event operations, supports quick decision-making during the exhibition, and enhances the visitor experience by effectively managing crowd flow.


Features & Architecture

Key Features

Architecture Overview


How to Run

Clone Repository

git clone cd

Install Dependencies

a) Backend

cd backend npm install

b) Frontend

cd frontend npm install


Environment Variables Create a .env file inside the backend directory:

PORT=2000 DATABASE_URL=”Your Postgres connection string” LOCAL_DB_URL=”Optional alternate DB URL” USE_POSTGIS=true GEMINI_API_KEY=”Optional Google API Key”


Running the System Locally

a) Database Setup Ensure PostgreSQL is running. Use the provided SQL to create the database and seed data:

psql -U postgres -h localhost -W \i backend/sql/create_zone_info.sql

b) Backend The backend will run on http://localhost:2000 (default).

cd backend npm run dev

c) Frontend The frontend will run on http://localhost:5173.

cd frontend npm run dev