Skip to content

Example FastAPI project with Piccolo ORM and SvelteKit

Notifications You must be signed in to change notification settings

zenners/fastapi-piccolo

 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.2%
  • JavaScript 10.2%
  • Dockerfile 7.6%
  • Svelte 5.8%
  • Shell 2.5%
  • HTML 2.1%
  • Other 2.6%