Commit 273aad13 by Belákovics Ádám

Finalized basic structure

parent cbc58970
__version__ = 0.0.1
\ No newline at end of file
from aiohttp import web
routes = web.RouteTableDef()
@routes.get('/')
async def hello(request):
return web.Response(text="Hello, world")
from routes import setup_routes
app = web.Application()
app.add_routes(routes)
setup_routes(app)
web.run_app(app)
\ No newline at end of file
from views import index
def setup_routes(app):
app.router.add_get('/', index)
\ No newline at end of file
from aiohttp import web
async def index(request):
return web.Response(text='Welcome to the RECIRCLE openstack-interface!')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment