Commits

Rael Max committed d204bf6

added base app and db

Comments (0)

Files changed (6)

__init__.py

Empty file added.

app.py

-# -*- coding: utf-8 -*-

server/.app.py.swp

Binary file added.

server/__init__.py

Empty file added.
+# -*- coding: utf-8 -*-
+import sqlite3
+from bottle import route, run, request
+
+
+@route('/get/<datatype>/<limit:int>')
+def get_data(datatype, limit):
+    return 'haha'
+
+
+run(server='gunicorn', port=8001)

server/base.db

Binary file added.