whiskyCavalier/nkaizen-platform-backend — reverse-engineered prompt
Reverse engineered prompt
Build me the NKAIZEN business hub backend and make sure it runs locally with the existing Angular frontend.
I need a working platform for managing both IT and non IT operations, with login, role based access, audit logging, CRM, HR, payroll, fleet management, compliance tracking, and dashboard data. Payroll should handle basic statutory calculations like PF, ESI, and PT, and there should be seed data including an admin user so I can test it quickly.
Please wire up the Node and Express API, MongoDB, Supabase or Postgres audit records, JWT auth, secure password handling, CORS, Helmet, caching, and real time notifications where the project already expects them. Also include the AI assistant behavior described in the README, using real services if keys are present and a local fallback if not.
Make the tests and validation scripts pass, including Jest and Playwright if they’re already set up. Use the current docs online if needed, and leave clear setup instructions for env variables, seeding, and starting frontend and backend.
Want more depth? Deep Reverse