Page MenuHomeDevCentral

Phase 2: Backend refactor with full CRUD API, expanded schema, and JWT auth
ClosedPublic

Authored by ieli on Feb 15 2026, 11:39.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 14, 10:28
Unknown Object (File)
Tue, Apr 14, 09:30
Unknown Object (File)
Thu, Apr 9, 14:35
Unknown Object (File)
Thu, Apr 9, 05:26
Unknown Object (File)
Thu, Apr 9, 05:26
Unknown Object (File)
Thu, Apr 9, 05:26
Unknown Object (File)
Thu, Apr 9, 05:25
Unknown Object (File)
Wed, Apr 8, 16:12
Subscribers
None
Tokens
"Y So Serious" token, awarded by dereckson.

Details

Summary

Database:

  • Expand schema with incident_update, incident_service, maintenance, and maintenance_service tables
  • Add ordering and timestamp columns to existing tables

Backend:

  • Add full CRUD endpoints for services, incidents, and maintenance
  • Add incident lifecycle (create → update → resolve) with update tracking
  • Add JWT authentication middleware for admin/write operations
  • Add start/dev scripts to package.json
  • Remove unused Sequelize dependency

API:

  • New RESTful routes (/api/services, /api/incidents, /api/maintenances)
  • Legacy endpoints preserved for backward compatibility
  • Public GET endpoints, authenticated POST/PUT/DELETE

Diff Detail

Repository
rSP ServPulse
Lint
Lint Skipped
Unit
No Test Coverage
Branch
phase2/backend-refactor
Build Status
Buildable 6332
Build 6616: arc lint + arc unit