mirror of
https://github.com/Blockstream/satellite-api.git
synced 2025-02-22 21:45:19 +01:00
- Preserve the SQLite database and use SQLAlchemy to wrap db interactions. - Use Alembic for database migrations. - Organize all the python modules on the new server/ directory. - Use pytest for unit tests and organize test modules at server/tests/.
9 lines
297 B
Python
9 lines
297 B
Python
from flask_restful import Resource
|
|
from flask import render_template, make_response
|
|
import constants
|
|
|
|
|
|
class QueueResource(Resource):
|
|
def get(self):
|
|
return make_response(render_template('queue.html', env=constants.env),
|
|
200, {'Content-Type': 'text/html'})
|