/building_api_flask

Source code for Building API In Flask

Primary LanguagePython

Building API In Flask

Source code for Building API In Flask

  • Clone the source code
  • Create a virtual environment
 python3.5 -m venv env
  • Activate the virtual environment
source env/bin/activate
  • Install the required dependencies
pip install -r requirements.txt
  • Export the FLASK_APP env variable
export FLASK_APP=api.py
  • Run the Flask app
flask run