AminHP / flask-mvc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flask-mvc-framework


A mini MVC framework using flask. This project is a fork of salimane/flask-mvc

Features:

  • Support different API versions for controllers and schemas.
  • Very fast json validation using good.
  • Run and install server in virtual environment automatically.
  • Update requirements automatically
  • Restful API documentation using Flassger
  • Restful API testing using pyresttest

Installation:

$ sudo pip install virtualenv
$ sudo apt-get install docker (for deploying)

Run server:

Run these commands in separate shells.

$ python manager.py celery
$ python manager.py run

Test api:

Run these commands in separate shells.

$ python manager.py testing
$ python manager.py test

Deploy server:

$ sudo service docker start
$ cd deploy
$ ./deploy.sh

Apidoc:

http://localhost:8080/apidocs/index.html

About


Languages

Language:Python 93.9%Language:HTML 3.6%Language:Nginx 1.8%Language:Shell 0.6%Language:CSS 0.2%