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
F53182487: D3963.diff
Wed, Oct 7, 14:39
F53158845: D3963.id10272.diff
Wed, Oct 7, 11:15
F53148986: D3963.id10271.diff
Wed, Oct 7, 09:36
Unknown Object (File)
Sat, Oct 3, 15:56
Unknown Object (File)
Fri, Oct 2, 00:12
Unknown Object (File)
Mon, Sep 28, 14:25
Unknown Object (File)
Sun, Sep 27, 22:00
Unknown Object (File)
Fri, Sep 25, 20:21
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