Skip to content

Fix Broken Tests & Document Backend Setup #139

@Cedarich

Description

@Cedarich

Status: Open (Priority Fix)
Labels: Backend, Documentation, Fix
Complexity: High (200 points)
Branch: fix/backend-tests-docs

Summary

A recently merged PR introduced regressions causing test failures and potentially breaking the server start. This issue requires debugging the current state, fixing all errors, and establishing proper documentation to prevent future regressions.

Tasks

  1. Fix Build & Runtime: Debug and resolve any errors preventing pnpm start:dev (or npm run start:dev) from running successfully.
  2. Fix Tests: Investigate and fix all failing unit/integration tests to ensure pnpm test (or npm test) passes 100%.
  3. Documentation:
    • Create a new folder: apps/backend/documentation (or app/backend/documentation as per repo structure).
    • Create a file: apps/backend/documentation/backend.md.
    • Document the backend architecture, setup instructions, environment variables, and testing guide in backend.md.

Acceptance Criteria

  • Screenshots Required:
    • Attach a screenshot of the terminal showing the server running successfully without errors.
    • Attach a screenshot of the test runner output showing all tests passing.
  • The apps/backend/documentation/backend.md file exists and is comprehensive (covers setup, env vars, testing).
  • CI pipeline passes for the backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions