Skip to content

🌀 Small and simple example of app written on modern brand new frameworks

License

Notifications You must be signed in to change notification settings

dmdin/Starlette-Svelte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Starlette Svelte Tortoise template app ✨

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

Used frameworks:

  • Svelte : Cybernetically enhanced web apps
  • Starlette : The little ASGI framework that shines
  • Tortoise ORM : Easy-to-use asyncio ORM inspired by Django

Installation

$ cd app
$ pip install -r requirements.txt

Then init database. You can do this by running script db_init.py

$ python3 db_init.py

Deployment

Now you are ready to run app. For more details you can check Uvicorn documentation

$ uvicorn app:app

That`s all! Your app is ready to shine 🌟

Maybe you have any idea or advice? Found bug? I am ready to get in touch with you and continue to improve this template!

Special thanks to Erm for given example

About

🌀 Small and simple example of app written on modern brand new frameworks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published