A FastAPI based low code starter/boilerplate: SQLAlchemy 2.0 (async), Postgres, React-Admin, pytest and cypress
FastAPI-Starter is a FastAPI based starter project that makes use of existing plugins and frameworks. It includes several key features such as user registration, authentication, a modern admin interface, automated testing, and more. The project follows best practices and incorporates technologies like React-Admin, Docker, and OpenAPI Generator.
To use FastAPI-Starter, you will need Python 3 and pip installed locally. Follow the steps below to install and set up the project:
pip install cookiecutter
cookiecutter https://github.com/[repository]
Replace [repository] with the repository URL of FastAPI-Starter.
During the cookiecutter process, you will be asked for input variables such as the project name, project slug, backend port, and frontend port. Have this information ready before running the command.
Once the cookiecutter process is complete, you will have a generated project based on the FastAPI-Starter template.
For keeping up to date with upstream changes, it is recommended to use Cruft, which is fully compatible with Cookiecutter. This will allow you to update to the current version of the template and import the changes to your generated project.
FastAPI-Starter is a powerful FastAPI based starter project that includes several key features for building modern web applications. It follows best practices, incorporates existing plugins and frameworks, and provides an easy-to-use structure for development. With features like user authentication, a modern admin interface, automated testing, and Docker deployment, FastAPI-Starter is a comprehensive solution for starting new projects quickly and efficiently.