#!/usr/bin/env python3

# System imports
from datetime import timedelta

# Third-party imports
from flask import Flask

# Local source tree imports
from napps_server.api import auth
#from napps_server.api import comments
#from napps_server.api import common
from napps_server.api import napps
from napps_server.api import users

app = Flask(__name__)

# Expose login and logout endpoints
app.register_blueprint(auth.api)

# Expose user endpoints
app.register_blueprint(users.api)

# Expose application endpoints
app.register_blueprint(napps.api)

# Expose comments endpoints
#common.app.register_blueprint(comments.api)

if __name__ == '__main__':
    app.run(debug=True)
