Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 804 Bytes

File metadata and controls

25 lines (20 loc) · 804 Bytes

Backend Bootstrap (feat/backend-bootstrap)

Status: 🚀 In Progress

Plan Summary:

  1. Add pino deps
  2. Create config/env.ts (zod typed)
  3. Create middleware/logger.ts (pino-http)
  4. Create middleware/errorHandler.ts
  5. Edit app.ts (add middlewares)
  6. Update .env.example
  7. Create tests/app.test.ts
  8. Update index.ts (env validate)
  9. Test & PR

Steps:

  • [✅] Step 1: Installed pino & pino-http deps\n- [✅] Step 2: Created config/env.ts (zod typed)\n- [✅] Step 3: Created middleware/logger.ts (pino-http)
  • [⏳] Step 3: Create middleware/logger.ts
  • [⏳] Step 4: Create middleware/errorHandler.ts
  • [⏳] Step 5: Edit backend/src/app.ts
  • [⏳] Step 6: Update backend/.env.example
  • [⏳] Step 7: Create backend/src/tests/app.test.ts
  • [⏳] Step 8: Edit index.ts for env