This is an invoice demo project template that uses FastAPI, Alembic and async SQLModel as ORM. It shows a complete async CRUD template with multiple relationships between one table.
- invoice number
- client contact information
- invoice contact information
- invoice items(name, description, quantity, price)
- total price
- multiple notes on each invoice
-
Create database
mysql> CREATE DATABASE invoice_db;
-
Create a
dev.env
file in theenvs
directory and set variables as in thedev.example.env
file -
Run the app using this make command
make run
-
Run Super admin APIs
- Create database
- Upgrade migration to head
-
Done!, give a try to call APIs right from swagger