Skip to content

kpriyanshu2003/sentinel-safe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentinel Safe - Real-time safety assessment Application

SDG

  • 16 - Peace, Justice, and Strong Institutions
  • 10 - Reduced Inequalities

About

  • 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.

Setting up The Project - Manually

  1. Clone the repo: git clone https://github.com/kpriyanshu2003/crowd-management.git
  2. Create a Firebase project and get the Firebase config
  3. Generate a serviceAccount.json file from the Firebase project and place it in the model folder
  4. Create a Mapbox account and get the Mapbox token
  5. Create a .env file for each folder ( client, server, model ) in the format as shown in the .env.example file
  6. Install Dependencies ( client and server ): yarn install
  7. Run yarn postinstall to install the Prisma client
  8. Create a new virtual environment ( python 3.10 ) and activate it
  9. Install the Python dependencies : pip install -r requirements.txt
  10. Use the starter.bat in Windows or starter.sh in Linux to start the client, server, and model

Setting up The Project - Using Docker

In Progress

Working with Prisma

  1. Install Prisma CLI : npm install -g prisma
  2. Create a new migration: prisma migrate dev --name mirgration_name --schema ./src/prisma/schema.prisma
  3. Apply the migration: prisma migrate deploy
  4. Generate the Prisma Client: prisma generate --schema ./src/prisma/schema.prisma
  5. Reset the database: prisma migrate reset

Important Links

Contributors

Open Source Projects Used - Python Models

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages