Skip to content

manan2110/MedGuide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MedGuide

How to run

  1. Clone the repo to your local system

    git clone https://github.com/manan2110/MedGuide.git

  2. Create a virtual environment. You can use this link for reference.

    python -m venv venv

  3. Activate your virtual environment using :

    venv/Scripts/activate

    Here venv is the name of virtual environment.

  4. Install all the requirements required to run the project :

    pip install -r requirements.txt

  5. Run the django server :

    python manage.py runserver

  6. In another terminal change directory to server :

    cd server

  7. Install node module

    npm i

  8. Start the VC server

    npm start

  9. In another terminal change directory to frontend :

    cd frontend

  10. Install node module

    npm i

  11. Start react server :

    npm start

  12. You can view the webapp by going to the localhost:3000 on you web browser.

Documents

You can find the api guide in the api folder.

You can find the frontend guide in the frontend folder.

Inspiration

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.

What it does

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

How we built it

  • Backend : Django
  • Frontend : React
  • VC Server : Node Js
  • Nearby Api : mapmyindia

Challenges we ran into

  • Using django asgi :

    • 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.
  • Integrating django with React :

    • using the same session for requests in React.
    • bypassing cors in django.
    • making react use django csrf tokens.
    • using url encoded data in React.
  • Using mapmyindia api :

    • nearby api had a small limit for free use.
    • using their token based auth.
  • Using Sawo :

    • Using sawo auth in django and react.
    • Using sawo integration documentation.

Accomplishments that we're proud of

We are proud that we were able to address an important problem and build a product that could help solve it.

What we learned

We learned from every challenged we faced.

  • Using django asgi
  • Integrating django with React
  • Using mapmyindia api
  • Using Sawo

What's next for MedGuide

  • Adding delivery feature
  • Adding real time driver track
  • Categorising medicines
  • Adding OAuth2
  • Integrating Google Maps
  • Adding chat to VC
  • Read prescription from image

Contributors :

manan2110
Manan Gyanchandani
Ayush6602
Ayush Das
Arsh-ak7
Arsh Kumar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •