annot-server/webapp/__init__.py
author ymh <ymh.work@gmail.com>
Wed, 15 Oct 2014 13:09:47 +0200
changeset 24 eb1f7b06001f
parent 23 16a1925df2df
child 42 926f0426ce78
permissions -rw-r--r--
add api + first version (not tested) of export annotation script

#
# See LICENCE for detail
# Copyright (c) 2014 IRI
#

import uuid
import json

from flask import Flask

import config
import database

app = Flask(__name__)
app.secret_key = str(uuid.uuid4())
app.debug = config.DEBUG
app.config.from_object(config)

import webapp.views
import webapp.api