File size: 261 Bytes
f4af40d
 
 
 
 
 
 
 
aba1138
f4af40d
 
1
2
3
4
5
6
7
8
9
10
11
from flask import Flask, request, jsonify

from gevent.pywsgi import WSGIServer
app = Flask(__name__)

from routes import *

if __name__ == "__main__":
    print("Started API server")
    http_server = WSGIServer(('', 7000), app)
    http_server.serve_forever()