Python 2.7 or higher
pip install -r requirements.txt
open: config/app.py
HOST = "0.0.0.0"
DEBUG = True / False
PORT = 8000
python start.py
* Restarting with stat
* Debugger is active!
* Debugger PIN: 131-964-042
* Running on http://127.0.0.1:8000/ (Press CTRL+C to quit)
NOTE :: if it's a sub directory it must consist a __init__.py file to be recognize as a package
from flask import Blueprint, make_response
""" blueprint module for url handler """
method = Blueprint(__name__, __name__)
@method.route("/", methods=['GET'])
def index():
return make_response("Welcome to flask starter kit!", 200)
configurations are modified in start.py