dmdin / Starlette-Svelte

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

License:MIT License


Languages

Language:Python 37.1%Language:JavaScript 24.2%Language:HTML 22.9%Language:CSS 13.8%Language:Dockerfile 1.9%