Skip to content

Dhruv-Sachdev1313/SwasthyaLoop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Complete Healthcare solutions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •