Skip to content

# Documentation [Backend]: Server Setup & Architecture #361

@OSEH-svg

Description

@OSEH-svg

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.

Metadata

Metadata

Assignees

Labels

ETA 24 hurgently neededStellar WaveIssues in the Stellar wave programdocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions