fire-emergency-management-concept

Fire Emergency Management – Full-Stack Web Application

This repository contains the full web application. The app is designed to help monitor and manage vegetation fire incidents in Romania using open data, interactive maps, and a simple backend.


🔥 Project Overview


🧰 Tech Stack

Frontend:

Backend:

Other Tools:


🗂️ Project Structure

fire-emergency-management-concept/
├── frontend/         # Web map UI (HTML, CSS, JS)
├── backend/          # Express.js REST API
│   ├── models/
│   └── routes/
├── demo/             # Screenshots or screen recordings
├── .env.example      # Template for environment variables
├── .gitignore
└── README.md

🚀 Getting Started

1. Clone the repository

git clone https://github.com/flavius-dev/fire-emergency-management-concept.git
cd fire-emergency-management-concept

2. Install backend dependencies

cd backend
npm install

3. Configure environment variables

Rename .env.example to .env and update:

PORT=5000
MONGO_URI=mongodb://localhost:27017/fire_incidents
JWT_SECRET=your_secret_key

4. Run the backend server

npm start

5. Open the frontend

Navigate to:

frontend/index.html

Open it in a browser to view the interactive fire incident map.


🖼 Screenshots

🔥 Fire Map View

Fire Map

📍 Incident Popup

Popup

🧪 API Response (Postman)

API


👤 Author

Flavius-Constantin Condoiu
Bachelor of Engineering – University of Petroșani, 2023


🌍 Live Demo

🔗 Demo on GitHub Pages


📜 License

This project is licensed under the MIT License.