Simple example of full-stack async app with REST-API build on modern and powerful frameworks with Django like style to be used in other projects
- Svelte : Cybernetically enhanced web apps
- Starlette : The little ASGI framework that shines
- Tortoise ORM : Easy-to-use asyncio ORM inspired by Django
$ cd app
$ pip install -r requirements.txt
Then init database. You can do this by running script db_init.py
$ python3 db_init.py
Now you are ready to run app. For more details you can check Uvicorn documentation
$ uvicorn app:app
Maybe you have any idea or advice? Found bug? I am ready to get in touch with you and continue to improve this template!