{"repo":"jonasrenault/fastapi-react-mongodb-docker","free":true,"listed":false,"github":"https://github.com/jonasrenault/fastapi-react-mongodb-docker","clone":"git clone https://github.com/jonasrenault/fastapi-react-mongodb-docker.git","description":"A FARM stack boilerplate with docker integration. This is a starting template for projects using a Python FastAPI server, MongoDB storage and React frontend, with docker setup for development and production.","language":"TypeScript","stars":137,"topics":["docker","fastapi","fastapi-boilerplate","fastapi-docker","fastapi-template","mongodb","python3","react","reactjs","farm-stack"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Fastapi-React-Mongodb-Docker This is a template application for a FARM stack. FARM stands for FastAPI, React, MongoDB. Features Clean design with minimal dependencies Basic user management with OAuth2 SSO Project structure The project is composed of : a backend API server built with FastAPI located in the backend dir. a frontend web app build with React and located in the frontend dir. Running the application locally for development To run the application manually in a terminal, see both the backend and frontend's READMEs for instructions. Running the application with Docker The project contains Docker configuration files to run the application with Docker compose. Two docker-compose files are provided with configuration for dev and for production environments. The Docker configuration is largely adapted from Tiangolo's Full stack FastAPI template project. Local development with Docker The local development file for docker is docker-compose.yml. Start the stack with Docker Compose: You can then open your browser and interact with these URLs: Frontend, served with vite with hot reload of code: http://localhost Backend, JSON based web API based on OpenAPI, with hot code reloading: http://localhost/api/v1 Automatic interactive documentation with Swagger UI (from the OpenAPI backend): http://localhost/docs Alternative automatic documentation with ReDoc (from the OpenAPI backend): http://localhost/redoc Traefik UI, to see how the routes are being handled by the proxy: http://local","default_branch":null,"files":null,"tree":[],"storefront":"/r/jonasrenault","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jonasrenault/fastapi-react-mongodb-docker/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."}