ACE-Program-Brototype/spotq-restaurant-service ? reverse-engineered prompt
Reverse engineered prompt
Build me the backend service for SpotQ’s restaurant platform, set up as a clean and production ready foundation in TypeScript.
I want a Node 22 Express app with a clear clean architecture structure, basic app startup, config loading, and environment validation. It should connect to PostgreSQL with Prisma, use Redis for cache and queue support with BullMQ ready to go, and include structured JSON logging plus Prometheus metrics. Please add health endpoints too, especially a metrics endpoint and a simple root health check.
Use Infisical for secrets so the app can run locally and in Docker without hardcoding sensitive values. Make sure the project is easy to develop with pnpm, includes linting, formatting, tests, and a build step, and follows the existing engineering style for observability and maintainability.
I’m not asking for restaurant features yet, just the foundation that’s already described, with a solid folder structure and everything wired up so it runs cleanly. If anything is unclear, look up the current docs online and make practical choices.
Are you gonna build this?
make sure you review the code using coderabbit