fastapi-mysql

FastApi template with MySQL database and poetry

Deploy fastapi-mysql

mysql-fastapi

rschwemmer/mysql-fastapi

Just deployed

MySQL

mysql:9

Just deployed

/var/lib/mysql

Getting Started:

  1. Setup Poetry
  2. - Create the poetry environment ```poetry env use 3.11```
  3. Start the poetry shell
  4. - ```poetry shell```
  5. Install dependencies:
  6. - ```poetry install```
  7. Create a .env file and input environment variables.
  8. Initialize database tables:
  9. - ```alembic upgrade head```
  10. Start the application in development mode:
  11. - ```poetry run dev```
  12. Test the application by making requests to endpoints.

Template Content

More templates in this category

View Template

Foundry Virtual Tabletop

A Self-Hosted & Modern Roleplaying Platform


View Template

(v1) Simple Medusa Backend

Deploy an ecommerce backend and admin using Medusa


View Template

peppermint

Docker-compose port for peppermint.sh