Go to file
2025-09-18 18:39:03 +05:30
.cursor/rules first commit after crearting ligin signup and token estoring in db 2025-09-09 19:49:42 +05:30
config first commit after crearting ligin signup and token estoring in db 2025-09-09 19:49:42 +05:30
src report route added 2025-09-18 18:39:03 +05:30
.env db config added 2025-09-11 17:18:15 +05:30
.gitignore zoho crm flow added 2025-09-11 17:12:47 +05:30
package-lock.json bulk red web hook feature implemented for crm data lead tasks and contacts working 2025-09-18 17:56:24 +05:30
package.json bulk red web hook feature implemented for crm data lead tasks and contacts working 2025-09-18 17:56:24 +05:30
README.md first commit after crearting ligin signup and token estoring in db 2025-09-09 19:49:42 +05:30

Centralized Reporting Backend

Quick start

  1. Copy env
    • cp .env.example .env
  2. Start MySQL and Redis
  3. Run migration
    • node src/db/migrate.js
  4. Start dev server
    • npm run dev

API

  • Health: GET /health
  • Users:
    • POST /api/v1/users/register { email, password, firstName?, lastName? }
    • GET /api/v1/users/me (Bearer token required)
    • PUT /api/v1/users/me (Bearer token, form-data profilePicture)
    • DELETE /api/v1/users/me (Bearer token)