Production-ready FastAPI template with PostgreSQL, Redis & JWT authorization.
- Secure and usable JWT authorization (feat. Refresh Tokens)
- Confirm actions using an email one-time code
- Extendable role-based access control (supports user & superuser)
- Powerful user management: CRUD, search, etc.
- Admin panel with authorization & CRUD operations
- Docker, Pre-commit & CI for better development experience
- Built with FastAPI best practices and Tips
- Clone the repository:
git clone https://github.com/everysoftware/fastapi-template
- Generate RSA keys:
openssl genrsa -out certs/private.pem 2048
openssl rsa -in certs/private.pem -pubout -out certs/public.pem
- Create a
.env
file. Use the.env.example
as a reference. - Run the application:
make up
Made with love ❤️