-
Clone the repo to your local system
git clone https://github.com/manan2110/MedGuide.git -
Create a virtual environment. You can use this link for reference.
python -m venv venv -
Activate your virtual environment using :
venv/Scripts/activateHere venv is the name of virtual environment.
-
Install all the requirements required to run the project :
pip install -r requirements.txt -
Run the django server :
python manage.py runserver -
In another terminal change directory to server :
cd server -
Install node module
npm i -
Start the VC server
npm start -
In another terminal change directory to frontend :
cd frontend -
Install node module
npm i -
Start react server :
npm start -
You can view the webapp by going to the localhost:3000 on you web browser.
You can find the api guide in the api folder.
You can find the frontend guide in the frontend folder.
During covid-19 people were under a lot of mental stress because they could not access medical facilities, which include access to medicines, consultancy and much more as freely as they could before. Also, previously doctors prescribed medicines without the knowledge of availability and cost of them near the patient which caused inconvenience to many people.
Our App allows the patient to consult with the doctor regarding the medicines availability and prices of medicine nearby the patient, and discuss the total cost of the prescription with the doctor. ( So that doctor can suggest better alternative ).
- Backend : Django
- Frontend : React
- VC Server : Node Js
- Nearby Api : mapmyindia
-
- Most api(s) in django use django-rest-framework which does not support async, so we have do all its work our self.
- Using django ORM async.
- Using djnago sessions async.
- Using django auth async.
-
- using the same session for requests in React.
- bypassing cors in django.
- making react use django csrf tokens.
- using url encoded data in React.
-
- nearby api had a small limit for free use.
- using their token based auth.
-
- Using sawo auth in django and react.
- Using sawo integration documentation.
We are proud that we were able to address an important problem and build a product that could help solve it.
We learned from every challenged we faced.
- Using django asgi
- Integrating django with React
- Using mapmyindia api
- Using Sawo
- Adding delivery feature
- Adding real time driver track
- Categorising medicines
- Adding OAuth2
- Integrating Google Maps
- Adding chat to VC
- Read prescription from image
|
Manan Gyanchandani |
Ayush Das |
Arsh Kumar |