### Clone Repository Source: https://github.com/fastapi-practices/fastapi-best-architecture/blob/master/CONTRIBUTING.md Clone your forked repository to start development. ```shell git clone https://github.com./fastapi_best_architecture.git ``` -------------------------------- ### Initialize Project Source: https://github.com/fastapi-practices/fastapi-best-architecture/blob/master/CONTRIBUTING.md Run the project initialization command with automatic setup. ```shell uv run fba init --auto ``` -------------------------------- ### Build Backend Docker Image Source: https://github.com/fastapi-practices/fastapi-best-architecture/blob/master/backend/README.md Builds the Docker image for the backend service. Ensure you are at the project root. ```shell docker build -f Dockerfile -t fba_backend_independent . ``` -------------------------------- ### Format Code Source: https://github.com/fastapi-practices/fastapi-best-architecture/blob/master/CONTRIBUTING.md Run the code formatting command. ```shell fba format ``` -------------------------------- ### Format Code with Ruff Preview Source: https://github.com/fastapi-practices/fastapi-best-architecture/blob/master/CONTRIBUTING.md Run the script to perform ruff formatting with a preview. Note: This script may not apply to Windows and might require chmod authorization. ```shell ./scripts/format.sh ``` -------------------------------- ### Run Backend Docker Container Source: https://github.com/fastapi-practices/fastapi-best-architecture/blob/master/backend/README.md Runs the backend service in a Docker container. For native boot, change '.env' to use 'host.docker.internal'. ```shell docker run -d -p 8000:8000 --name fba_server fba_backend_independent ``` -------------------------------- ### Perform Prek Formatting Source: https://github.com/fastapi-practices/fastapi-best-architecture/blob/master/CONTRIBUTING.md Run the script for prek formatting. Note: This script may not apply to Windows and might require chmod authorization. ```shell ./scripts/lint.sh ``` -------------------------------- ### Create New Feature Branch Source: https://github.com/fastapi-practices/fastapi-best-architecture/blob/master/CONTRIBUTING.md Checkout a new branch to make your changes. ```shell git checkout -b your-new-feature-branch ``` -------------------------------- ### Export Dependency Package Source: https://github.com/fastapi-practices/fastapi-best-architecture/blob/master/CONTRIBUTING.md Execute the script to export dependency packages using uv. Note: This script may not apply to Windows and might require chmod authorization. ```shell ./scripts/export.sh ``` -------------------------------- ### Perform Automatic Database Migration Source: https://github.com/fastapi-practices/fastapi-best-architecture/blob/master/CONTRIBUTING.md Execute the script for automatic database migration. Note: This script may not apply to Windows and might require chmod authorization. ```shell ./migrate.sh ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.