Skip to content

Production-ready FastAPI template with PostgreSQL, Redis & JWT authorization.

License

Notifications You must be signed in to change notification settings

everysoftware/fastapi-template

Repository files navigation

FastAPI Template

Production-ready FastAPI template with PostgreSQL, Redis & JWT authorization.

Features

  • 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

Installation

  1. Clone the repository:
git clone https://github.com/everysoftware/fastapi-template
  1. Generate RSA keys:
openssl genrsa -out certs/private.pem 2048
openssl rsa -in certs/private.pem -pubout -out certs/public.pem
  1. Create a .env file. Use the .env.example as a reference.
  2. Run the application:
make up

Screenshots

img.png

img.png

Made with love ❤️

About

Production-ready FastAPI template with PostgreSQL, Redis & JWT authorization.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published