Skip to content

Repository files navigation

FastAPI MongoDB Template

Based on https://github.com/fastapi/full-stack-fastapi-template/

Technology Stack and Features

  • ⚑ FastAPI for the Python backend API.
    • 🧰 Beanie for the Python NoSQL database interactions (ODM).
    • πŸ” Pydantic, used by FastAPI, for the data validation and settings management.
    • πŸ’Ύ MongoDB as the NoSQL database.
  • πŸš€ React for the frontend.
    • πŸ’ƒ Using TypeScript, hooks, Vite, and other parts of a modern frontend stack.
    • 🎨 Chakra UI for the frontend components.
    • πŸ€– An automatically generated frontend client.
    • πŸ§ͺ Playwright for End-to-End testing.
    • πŸ¦‡ Dark mode support.
  • πŸ‹ Docker Compose for development and production.
  • πŸ”’ Secure password hashing by default.
  • πŸ”‘ JWT (JSON Web Token) authentication.
  • πŸ“« Email based password recovery.
  • βœ… Asyncs tests with Pytest_asyncio.
  • πŸ“ž Traefik as a reverse proxy / load balancer.
  • 🚒 Deployment instructions using Docker Compose, including how to set up a frontend Traefik proxy to handle automatic HTTPS certificates.
  • 🏭 CI (continuous integration) and CD (continuous deployment) based on GitHub Actions.

For dev & deployment pleaser refer to:

How To Use It

You can just fork or clone this repository and use it as is.

Release Notes

Check the file release-notes.md.

License

The FARM Template is licensed under the terms of the MIT license.

About

Full stack, modern web application template. Using FastAPI, React, Beanie, MongoDB, Docker, automatic HTTPS and more.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages