Skip to content

anmolsahu2k/Sahayak

Repository files navigation

SOS Assistance Platform

Deployed at Sahayak(Best works on desktop or landsacape mode in mobile)

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact
  6. Acknowledgements

About The Project

Landing Page

Our project "Sahayak" is a community platform that enables users to volunteer and help nearby users in need of any emergency assistance or aid. Through the website, users can send SOS request to other users in the specified radius. Once the SOS request is sent, the nearby users receive the request and they have the choice to either accept the request or reject it depending on their personal situation

  • How it is different from others? Our app will be sending SOS messages not only to nearest police/medical stations, assigned relatives but also to the local people who live near the victim’s house. All the people registered on the app will be verified with some kind of official documentation (aadhaar card/PAN etc.). This verification is done to remove the possibility of misuse of the application by some random person. All the requests made and requests answered will be stored in a log.

  • How sending messages to people living near the victims house will help? Sending messages to the local people will be beneficial as they can offer help much faster than police/ambulances. e.g. If someone crashed his car on highway, locals can help promptly than police/ambulance.

Technology used:

  • Frontend
    • HTML
    • CSS
    • JavaScript
    • jQuery
    • Bootstrap v4.5
  • Backend
    • Node
    • Express
  • Database
    • MongoDB

Getting Started

Prerequisites

  • NodeJS
  • NPM
  • MongoDB
  • Text Editor. eg: Visual Code Studio
  • CLI Tool

Installation

  1. Get a Google Maps API key.

Two APIs are being used

  • Maps Javascript API
  • Geocoding API
  1. Clone the repo
    git clone https://github.com/Pro-Abhinav/Sahayak.git
  2. Install NPM packages
    npm install
  3. Enter your API in '.env'
     GOOGLE_MAPS_API_KEY = "ENTER YOUR API"
  4. Enter other secrets in '.env' file.
    PASSPORT_SECRET = "This is my secret"
    ADMIN_SECRET_CODE = "adminPassword"
    
    APP_LISTEN_PORT = 3000
    MONGO_URL = "DATABASE LINK"

Screenshots

Landing Page

Landing Page

Signup

Signup Page

Login

Login Page

Dashboard

Dashboard Page

Activity Log

Activity Log Page

Activity Log Timeline

Activity Log Timeline

Accept Requests

Accept Page

User Settings

Settings Page

Reset Password

Reset Password Page

Usage

Our platform enables users to volunteer and help nearby users in need of any emergency assistance or aid. Through the website, users can send SOS request to other users in the radius of 2km. Once the SOS request is sent, the nearby users (within 2km) receive the request and they have the choice to either accept the request or reject it depending their personal situation.
Through this, the requester can get immediate assistance through nearby volunteers. Through the google maps api provided on the platform the volunteer will be able to get the address of the requester. Even the requester will be able to view his/her location on the google maps before sending the request

License

Distributed under the MIT License.

Contact

Project Link: https://github.com/Pro-Abhinav/Sahayak