It's highly recommended to install Vibora inside a virtualenv.
In case you have trouble with Vibora dependencies: pip install vibora to install it without the extra libraries.
from vibora import Vibora, JsonResponse
app = Vibora()
@app.route('/')
async def home():
return JsonResponse({'hello': 'world'})
if __name__ == '__main__':
app.run(host="0.0.0.0", port=8000)
The previous example was just to show off how easy is it to spin up a server.
The recommended way to start a new project is by letting Vibora do it for you. Vibora is also a command-line tool, try it out: vibora new project_name