Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Backend API for Face2BMI | Won't work, was hosted on heroku, heroku removed free tier support :' )

License

Notifications You must be signed in to change notification settings

face2bmi-ZmFjZTJibWk/webapp-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webapp-api

Code API for WebApp


Setup

Creating a virtual environment

On macOS and Linux:

python3 -m venv env

On Windows:

py -m venv env

Activating a virtual environment

On macOS and Linux:

source env/bin/activate

On Windows:

.\env\Scripts\activate

Leaving the virtual environment

deactivate

Installing Dependencies

pip install -r requirements.txt


Run

Dev

uvicorn app:app --reload

Prod

uvicorn app:app --host=0.0.0.0 --port=${PORT:-5000}

About

Backend API for Face2BMI | Won't work, was hosted on heroku, heroku removed free tier support :' )

Topics

Resources

License

Stars

Watchers

Forks

Languages