{"repo":"WMRamadan/fastapi-boilerplate","free":true,"listed":false,"github":"https://github.com/WMRamadan/fastapi-boilerplate","clone":"git clone https://github.com/WMRamadan/fastapi-boilerplate.git","description":"FastAPI REST API pre-configured with a database. This will get you up and running with CRUD operations quickly.","language":"Python","stars":41,"topics":["boilerplate","fastapi","python","rest-api","pydantic","sqlalchemy","docker","docker-compose","pylint","loguru"],"license":"GPL-3.0","category":"deployment-docker-iac","readme_excerpt":"FastAPI Boilerplate FastAPI REST API pre-configured with a database. This will get you up and running with CRUD operations quickly. Use this starter, boilerplate for all your new FastAPI projects. Requirements - Python3 - python3-virtualenv - python3-pip - Docker - Docker-compose Features - SQLAlchemy - Pydantic - Docker - Logging - Celery - Tests - Config - SSE - PyMongo ToDo - Version 1.0 Roadmap File Structure Environment Variables - SQLALCHEMY DATABASE URL - Database URL used, can be either SQLite or PostgreSQL. - MONGODB URL - Database URL for MongoDB server. - MONGODB NAME - Name used for MongoDB Database. - CELERY CONF BROKER URL - Celery redis broker URL. - CELERY CONF RESULT BACKEND - Celery redis result backend. - ALLOWED ORIGINS - A list of origins that should be permitted to make cross-origin requests. - ALLOW CREDENTIALS - Allowed credentials bool for CORS middelware. - ALLOW METHODS - Allowed methods ['GET','POST','PUT','PATCH','DELETE','OPTIONS'] for CORS middleware. - ALLOW HEADERS - A list of HTTP request headers that should be supported for cross-origin requests. - APP DEBUG - Set app debug mode bool value. Updating Changelog You can run git-changelog.sh bash script to update the CHANGELOG file using the following command: To Build Docker Image Linting You can run pylint with the following command inside the fastapi-boilerplate directory: Running Tests You can run pytest with the following command inside the fastapi-boilerplate directory: Dev Quick Start (Lo","default_branch":null,"files":null,"tree":[],"storefront":"/r/WMRamadan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/WMRamadan/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."}