Skip to content
/ python-api-example Public template

🔌 This is an example project on how to configure and wrap a python app into Flask to provide api services.

License

Notifications You must be signed in to change notification settings

szemyd/python-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-api-example

🔌 This is an example project on how to configure and wrap a python app into Flask to provide api services.

You need to create a virtual environment after cloning the project:

  1. Installing virtualenv
  • Linux/Mac python3 -m pip install --user virtualenv

  • Windows py -m pip install --user virtualenv

  1. Create virtualenv
  • Linux/Mac python3 -m venv env source env/bin/activate

  • Windows py -m venv env .\env\Scripts\activate

Deploy to Heroku

This is configured to run on heroku

  1. heroku create
  2. git push heroku main

Heroku with help from this blog post: https://geekyhumans.com/how-to-deploy-flask-api-on-heroku/

About

🔌 This is an example project on how to configure and wrap a python app into Flask to provide api services.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published