Skip to content

A flask based Python REST API example

License

Notifications You must be signed in to change notification settings

manoharuss/python-api-example

Repository files navigation

GITHUB CI

python-api-example

A flask based simple Python API template hooked to Github Actions CI.

Setup

Python version


$ python --version

Python 3.7.4

$ pip --version

pip 20.1.1 from /Users/username/env/lib/python3.7/site-packages/pip (python 3.7)

Install dependencies

$ pip install -r requirements.txt

Start app


npm run lint

npm start

Head over to http://0.0.0.0:80/ for seeing locally served README.md.

Continuous development

The CI builds on github actions are only triggered if a developer commit message contains the phrase - "build". The development commits that do not need a CI build to be triggered, just do not use the phrase build in commit messages.

About

A flask based Python REST API example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages