patx/veela
"""Run the notebook demo from the repository root:
python -m example_app.app
Open http://127.0.0.1:8000. Users, tokens, and notes disappear on restart.
Login is restored with an HttpOnly refresh cookie; API calls use bearer tokens.
Storage and rate limits are process-local. Production needs shared storage and HTTPS.
"""
from . import auth, notes, pages
app = pages.app
app.mount('/api', auth.app)
app.mount('/api/notes', notes.app)
if __name__ == '__main__':
app.run()