{"repo":"vvatelot/fastapi_boilerplate","free":true,"listed":false,"github":"https://github.com/vvatelot/fastapi_boilerplate","clone":"git clone https://github.com/vvatelot/fastapi_boilerplate.git","description":"This is a simple boilerplate MVC like project to create quickly application with great components (Fastapi, Prisma, HTMX...)","language":"Python","stars":45,"topics":["boilerplate","fastapi","python","htmx","bootstrap","docker","docker-compose","jinja2","prisma"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Fastapi Boilerplate project This is a boilerplate project for fastapi. It is based on the fastapi official tutorial. It aims to be a simple MVC project with a database connection. The example is a simple todo list. It uses Jinja2 as a template engine and Prisma as an ORM. For the frontend, it uses Bootstrap and HTMX. Requirements - Docker and docker-compose v2 for running the project - Python 3.12+ and uv for development Quickstart Running the project Development To improve development experience, a devcontainer configuration is available. To setup a development environment, you can simply use Vscode Devcontainer. Once the devcontainer is up, just run the command uv run fastapi dev ./app/main.py to start the dev server that will be available on localhost:8000 Else, you can follow those steps to configure the development environment on your host: Project quality Application structure Declare a new route To declare a new route, you need to create a new file in the app/routes directory. The file must contain a router variable that is an instance of fastapi.APIRouter . It will be automaticaly binded to the fastapi application.","default_branch":null,"files":null,"tree":[],"storefront":"/r/vvatelot","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vvatelot/fastapi_boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}