from flask import Flask
from flask_mongoengine import MongoEngine
from config import Config
from flask_restplus import Api

api = Api()

app = Flask(__name__)
app.config.from_object(Config)

db = MongoEngine()
db.init_app(app)
api.init_app(app)

from apps import routes



