Steps to Create the Backend
Step 1: Set up Backend Project using the Command:
npm inti -y
Step 2: Navigate to the Project folder using:
cd <name of project>
The updated dependencies in package.json file will look like:
"dependencies": {
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"express": "^4.18.2",
"mongoose": "^7.6.5",
}
Project Structure:
Disaster Management Website using MERN
The Comprehensive Disaster Management System is a full-stack web application developed using the MERN stack, encompassing MongoDB for database management, Express.js for server-side logic, React for the user interface, and Node.js as the runtime environment. The primary goal of this project is to create an efficient and user-friendly system for handling, monitoring, and coordinating disaster-related activities.
Preview of final output: Let us have a look at how the final application will look like.