Giter VIP home page Giter VIP logo

cookiecutter-flask-swagger-uwsgi's Introduction

flask-swagger-uwsgi

Build Status

This is an opinionated Flask based project. It is meant to be used with Kubernetes type orchestration solutions as well as API Gateway solutions that will use Open API 2.0 specification(formerly known as Swagger).

Usage

Install cookiecutter:

pipenv install --dev --three cookiecutter

Create your application from this template:

cookiecutter https://github.com/JohnRoach/cookiecutter-flask-swagger-uwsgi.git

All set! Run the application:

cd yourapplication
make run

And then open it at http://127.0.0.1:3040/

Features

Included:

  • production-ready Connexion application: root package, sample static resource, sample template and an index view, as per Larger Applications

  • Docker file with uwsgi setup

  • setuptools configuration to package and release the application, as well as to develop locally, as per Deploying with Setuptools

  • configuration system, as per Configuration Handling

  • basic logging configuration, as per Logging to a File

  • sample test and configuration necessary to run the tests, as per The Testing Skeleton

  • Makefile with few typical tasks automated (see generated README for details)

Contributions

Please read the CONTRIBUTING.md document. If you do a change, use make test from root directory to test the updated template.

Possible future improvements

  • Fix issue with swagger-ui
  • Nail down the uwsgi configurations to be more production ready
  • Harden the docker container
  • Find a cross-platform replacement to a Makefile

cookiecutter-flask-swagger-uwsgi's People

Contributors

johnroach avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.