Skip to content

This project provides the production ready boiler plate to start Rest Api development in python using flask

Notifications You must be signed in to change notification settings

chandra-prakash-reddy/flask-boiler-plate

Repository files navigation

flask-boiler-plate

Build Status Build Status Azure DevOps coverage (branch) Azure DevOps tests (branch)

This project provides the production ready boiler plate to start Rest Api development in python using flask

PreRequisites

SetUp

Tests

  • install dependencies : pip install -r requirements.txt
  • Run TestCases : pytest tests --doctest-modules --junitxml=junit/test-results.xml
  • Code Coverage : py.test -v --cov=publication --cov=common --cov-report xml --cov-report html

Deployment

  • Standalone
    • install dependencies pip install -r requirements.txt
    • python wsgi.py (recomended for development)
    • ./scripts/run.sh
      • enviroment example:-dev,prod
      • port example:-2556

Verify

  • open http(s): // <host>:<port> in web browser
  • documentation of apis will be available

References

About

This project provides the production ready boiler plate to start Rest Api development in python using flask

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published