Skip to content

Latest commit

 

History

History
105 lines (76 loc) · 3.66 KB

README.md

File metadata and controls

105 lines (76 loc) · 3.66 KB

SwasthyaLoop-logo

made-with-python made-with-flutter Contributions welcome Awesome


About

This project tries to solve for Good Health & Wellbeing, which is one of the United Nations Sustainable Development Goals working towards eliminating the struggle of availing medical treatment during the time of need. Due to COVID and even otherwise, getting hospital beds is really difficult, at least in a crowded city like Mumbai.


What are we making

Here's our demo video

video


How to run

Setting up the environment

  • Firebase project setup
    • Create an app on firebase
    • Follow the official guide for android and ios to integrate with the flutter app
    • Download firebase_key.json (yes, rename it to firebase_key.json) and paste it in web/env
    • Create a .env file in the same (web/env) folder with the following contents:
      •   # leave firebase_key as it is
          firebase_key=env/firebase_key.json
          firebase_route=<YOUR-FIREBASE-ROUTE>
        

Backend and Hospital Web App

  •       # First let's install the dependencies
          cd backend
          pip install -r requirements.txt
          # Now let's start our db server
          python fb_db.py
          # Finally, the web app
          python run.py
  • Now, after successfully running the db server, you'll see {"status": "fine"} messagge on http://127.0.0.1:8080

  • And once the flask app starts, please visit http://127.0.0.1:5000/, after login, you'll see a dashboard as follows:

Flutter App

  • The base directory is app/swasthyaloop
  • Open the folder in any ide of your choice, connect your phone/emulator and run the main.dart file.

PS: Grab a cup of coffee, it takes some time to build

  • Once the app is built successfully, you'll see a welcome screen and post login:


Contributors


Recognition

This repository/project is a submission to DSC Solution Challenge 2021.

References

Made with ❤️ by Team Change Makers