|
| 1 | +# Team JackNPitch |
| 2 | +### Pritthijit Nath & Shuvayan Ghosh Dastidar |
| 3 | +#### Jadavpur University, Kolkata, India |
| 4 | + |
| 5 | +### Unique Selling Points |
| 6 | +#### Privacy |
| 7 | +All user data related fields such as `name, email, phone, occupation, gender` are MD5 hashed, so that in case of an adversarial attack, user data can be kept safe. |
| 8 | +#### HotSpot - Detection |
| 9 | +Based on the user location, hotspots will be identified which will help medical personnel to focus more on these specific spots and take appropriate action beforehand. (ToDo) |
| 10 | +#### SIR Model - Simulation |
| 11 | +Medical Personnel will be able to create and analyse simulations on changing various state parameters, thereby helping them to analyse outbreak spread in both a quantitative and qualitative way. (ToDo) |
| 12 | +#### Heightened Caution |
| 13 | +By displaying markers in the map with labels, users will be able to visualise hotspots beforehand thus allowing them to exercise proper caution when visiting such areas. |
| 14 | +#### Personalized Feedback |
| 15 | +Based on the self-assessment, the risk factor is calculated thus helping the model to classify them into HighRisk or LowRisk patients, which further can help medical personnel to identify potential COVID-19 affected patients in an improved way. |
| 16 | + |
| 17 | +## Backend |
| 18 | +### Technology Stack Used : |
| 19 | +1. ExpressJS |
| 20 | +2. MongoDB |
| 21 | + |
| 22 | +### Site : [https://jacknpitch.herokuapp.com](https://jacknpitch.herokuapp.com) |
| 23 | + |
| 24 | +### Documentation |
| 25 | +1. `GET /count` - Retrieves the count of users based on params |
| 26 | + * `params : medic=true` - Retrieves the count of medical personnel in the database |
| 27 | + * `params : users=true` - Retrieves the count of users registered in the database |
| 28 | +2. `GET /locations` - Retrieves locations and other details of the users |
| 29 | +3. `POST /medicalCentre` - Adds a medical centre to the database |
| 30 | +4. `GET /medicalCentre` - Retrieves all the medical centres present in the database |
| 31 | +5. `POST /users` - Adds a user to the database |
| 32 | + |
| 33 | +Note: User specific routes have not been mentioned, they have been implemented as per `REST` Guidelines. |
| 34 | + |
| 35 | + |
| 36 | +### Run in Local Machine |
| 37 | +``` |
| 38 | +$ cd Backend |
| 39 | +$ npm install |
| 40 | +$ export MONGODB_URL=MONGODB_DATABASE_URI |
| 41 | +$ export JWT_SECRET="PROGRAMMERS_DATE" |
| 42 | +$ npm start |
| 43 | +``` |
0 commit comments