# fastapi_template **Repository Path**: ayg_caolipin/fastapi_template ## Basic Information - **Project Name**: fastapi_template - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-23 - **Last Updated**: 2024-07-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # fastapi_template > This is a FastAPI template. > If you identify anything that requires optimization, kindly submit a pull request (PR) or open an issue. > The example app is provided for reference purposes only, feel free to remove it once you start using the template. ## How to config? You can configure various environment settings in the `configs.py` file. ## How to develop? ### 1. add tests Following TDD, add tests in the `unittests` directory to validate the expected outcomes. ### 2. add api routes 1. Add the models in `models.__init__.py`. 2. Add the schemas for validating API data in `example.schemas` 3. Add API routes in `example.api` 4. Add exceptions in `example.exceptions` 5. Add common business logic in `example.services` # How to start? Start dependencies: ``` cd docker docker-compose up -d ``` Run server: ``` cd src poetry install python manage.py migrate python manage.py start ```