Page MenuHomeDevCentral

Phase 5: Add tests, documentation, and production deployment
ClosedPublic

Authored by ieli on Sun, Feb 15, 12:46.
Tags
None
Referenced Files
F24580034: D3966.diff
Sat, Feb 28, 06:33
F24567470: D3966.diff
Fri, Feb 27, 16:07
Unknown Object (File)
Fri, Feb 27, 00:57
Unknown Object (File)
Thu, Feb 26, 06:17
Unknown Object (File)
Thu, Feb 26, 05:09
Unknown Object (File)
Thu, Feb 26, 05:04
Unknown Object (File)
Thu, Feb 26, 04:45
Unknown Object (File)
Thu, Feb 26, 03:51
Subscribers
None
Tokens
"Y So Serious" token, awarded by dereckson.

Details

Summary

Testing:

  • Add Jest backend tests (19 tests: service/incident controllers, auth middleware)
  • Add Vitest frontend tests (38 tests: status utils, StatusBadge, OverallStatus, ServiceGroup)

Documentation:

  • Rewrite root README with full API reference, env vars, and deployment guide
  • Rewrite backend/frontend READMEs with current structure and dev guides
  • Add docs/architecture.md with Mermaid diagrams (system overview, component tree, backend MVC, database ER, status flow, incident lifecycle)

Deployment:

  • Add production Dockerfiles (backend: non-root user, frontend: multi-stage Nginx)
  • Add docker-compose.prod.yml override
  • Add frontend nginx.conf with SPA routing and gzip
  • Update .env.example with SMTP notification vars

Diff Detail

Repository
rSP ServPulse
Lint
Lint Not Applicable
Unit
Tests Not Applicable