Skip to content

Commit 5c7bb4b

Browse files
Merge pull request #4 from nathzi1505/master
Team JackNPitch
2 parents fd8e7a8 + 7695ebe commit 5c7bb4b

111 files changed

Lines changed: 39496 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

JackNPitch/Backend/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
config/
2+
node_modules/
3+
playground/

JackNPitch/Backend/README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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

Comments
 (0)