Rescue Channel is a web application developed using the MERN (MongoDB, Express, React, Node.js) stack that allows agencies to register, manage resources, and coordinate rescue operations. Victims can use this platform to report emergencies and track rescue efforts.
- Frontend: Built with React, Bootstrap for UI design, and several other libraries.
- Backend: Powered by Node.js with Express, MongoDB for the database, and multiple middlewares for handling sessions, security, and file uploads.
- Agency Registration: Agencies can register and manage resources such as fire extinguishers, ladders, and trucks.
- SOS Form: Victims can submit reports in case of an emergency, which will be processed by the relevant agencies.
- Resource Management: Agencies can add, edit, and delete resources like equipment, tracking availability and use.
- Notifications: Victims and agencies receive updates on rescue operations.
- Chatroom: Agencies can collaborate in real-time via group chat.
- Location Tracking: Victims' locations are captured and displayed to agencies.
- React: ^18.3.1
- Bootstrap: ^5.3.3
- Bootstrap Icons: ^1.11.3
- React Router: ^6.25.1
- Axios: ^1.7.3
- Google Maps API: ^2.19.3
- Three.js: ^0.167.1
- Node.js: ^18.x
- Express: ^4.19.2
- MongoDB: ^8.5.2 (via Mongoose ORM)
- JSON Web Tokens (JWT) for authentication
- Multer for file uploads (e.g., licenses)
- Nodemon for auto-restarting the backend server during development
Ensure you have the following installed on your machine:
- Node.js: ^18.x
- MongoDB
-
Clone the repository:
git clone https://github.com/Rohith-S-07/RescueChannel-MERN.git
-
Navigate to the project directory:
cd RescueChannel-MERN -
Install dependencies for the frontend:
cd frontend npm install -
Install dependencies for the backend:
cd ../backend npm install -
Set up environment variables for the backend:
- Create a
.envfile in thebackenddirectory with the following contents:MONGO_URI=your_mongodb_connection_string
- Create a
-
Start the frontend server:
cd ../frontend npm start -
Start the backend server:
cd ../backend npm run server -
Open your browser and navigate to
http://localhost:3000to access the application.