heliumbrain / fastapi-piccolo

Example FastAPI project with Piccolo ORM and SvelteKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WORK IN PROGRESS!

FastAPI + Piccolo ORM + SvelteKit

This is a practical example project showing how to use FastAPI together with the Piccolo ORM. Also includes a very simple frontend built with SvelteKit to prove that it works :)

Stuff used

  • FastAPI
  • Piccolo ORM
  • Postgres
  • SvelteKit

How to run

  1. Clone the repo
  2. Run make build && make up in your terminal

To shut the docker containers down simply run make down in your terminal. Please note that any data attached to the Docker containers will be lost.

Good to know

There's a sample.env file included to set the needed environment variables for the different parts of the app to run. Please note that if you want to change this you will also have to change the Makefile to use the correct .env file for the make up command.

About

Example FastAPI project with Piccolo ORM and SvelteKit


Languages

Language:Python 69.4%Language:JavaScript 10.2%Language:Dockerfile 7.6%Language:Svelte 5.8%Language:Shell 2.5%Language:HTML 2.1%Language:Makefile 1.7%Language:CSS 0.9%