Difficulty: Medium
Task Description
Create a comprehensive README.md for the server directory that explains how to get the Axum backend running and outlines the architectural pattern used.
Implementation Details
File Path: server/README.md
Content:
- Tech Stack: Explain usage of Axum, SQLx, and PostgreSQL.
- Local Setup:
- Step-by-step instructions for
cargo run.
- Database configuration (
DATABASE_URL in .env).
- Running migrations using
sqlx-cli.
- Architecture Overview:
- Explain the directory structure:
src/routes, src/handlers, src/models, src/config.
- Document the request lifecycle (Layer -> Route -> Handler -> Model).
- Testing: How to run
test_health_endpoints.sh and cargo tests.
Acceptance Criteria
server/README.md exists and follows professional formatting.
- A first-time contributor can successfully run the server following the instructions.
- Architecture section clearly explains where to add new endpoints.
- Environment variable requirements are explicitly listed.
When opening your PR, Include: Closes #issue_number.
Difficulty: Medium
Task Description
Create a comprehensive
README.mdfor the server directory that explains how to get the Axum backend running and outlines the architectural pattern used.Implementation Details
File Path:
server/README.mdContent:
cargo run.DATABASE_URLin.env).sqlx-cli.src/routes,src/handlers,src/models,src/config.test_health_endpoints.shand cargo tests.Acceptance Criteria
server/README.mdexists and follows professional formatting.When opening your PR, Include:
Closes #issue_number.