- 16 - Peace, Justice, and Strong Institution
- 10 - Reduced Inequalities
- Integrates real-time data to assess route safety using machine learning algorithms.
- Provides a user-friendly interface for inputting route preferences and receiving instant safety assessments.
- Displays color-coded risk factors on a map interface for clear insights.
- Enables users to contribute to model accuracy through reviews and feedback.
- Features a community forum for emergency assistance, connecting users with nearby community members.
- Join us in revolutionizing safety assessment and route planning for safer communities.
- Clone the repo:
git clone https://github.com/kpriyanshu2003/crowd-management.git
- Create a Firebase project and get the Firebase config
- Generate a
serviceAccount.json
file from the Firebase project and place it in the model folder - Create a Mapbox account and get the Mapbox token
- Create a
.env
file for each folder ( client, server, model ) in the format as shown in the.env.example
file - Install Dependencies ( client and server ):
yarn install
- Run
yarn postinstall
to install the Prisma client - Create a new virtual environment ( python 3.10 ) and activate it
- Install the Python dependencies :
pip install -r requirements.txt
- Use the
starter.bat
in Windows orstarter.sh
in Linux to start the client, server, and model
In Progress
- Install Prisma CLI :
npm install -g prisma
- Create a new migration:
prisma migrate dev --name mirgration_name --schema ./src/prisma/schema.prisma
- Apply the migration:
prisma migrate deploy
- Generate the Prisma Client:
prisma generate --schema ./src/prisma/schema.prisma
- Reset the database:
prisma migrate reset