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
F41610955: D3963.id10271.diff
Tue, Aug 4, 22:38
F41537219: D3963.id.diff
Tue, Aug 4, 15:28
Unknown Object (File)
Sat, Aug 1, 11:24
Unknown Object (File)
Sun, Jul 26, 03:03
Unknown Object (File)
Thu, Jul 23, 11:50
Unknown Object (File)
Wed, Jul 22, 03:19
Unknown Object (File)
Tue, Jul 21, 13:07
Unknown Object (File)
Tue, Jul 21, 10:50
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 Not Applicable
Unit
Tests Not Applicable