fastapi-mysql

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

Deploy Now

Details

Randall Schwemmer's Projects

Created on Feb 28, 2024

87 total projects

32 active projects

33% success on recent deploys

Python, Mako

Other



More templates in this category

View Template
Foundry Virtual Tabletop

Foundry Virtual Tabletop

A Self-Hosted & Modern Roleplaying Platform


Lucas's Projects

View Template
(v1) Simple Medusa Backend

(v1) Simple Medusa Backend

Deploy an ecommerce backend and admin using Medusa


Shahed Nasser's Projects

View Template
peppermint

peppermint

Docker-compose port for peppermint.sh


HamiltonAI