This repository contains three runtime surfaces:
- Next.js frontend
- Express backend API
- FastAPI AI service
Do not open a public issue with secrets or exploit details. Report privately to the project maintainers.
- Never commit production secrets, credentials, JWT secrets, service tokens, database keys, or API keys.
- Use
.env.localfor local development and platform-managed environment variables in hosted environments. - Rotate any token that was ever shared outside a local disposable environment.
Before deployment, run:
npm --prefix backend audit --omit=devnpm --prefix frontend audit --omit=devnpm run build --prefix backendnpm run build --prefix frontendpython -m py_compile ai-service/app/main.py
- Backend production must use
DATA_PROVIDER=supabase. JWT_SECRETandAI_INTERNAL_AUTH_TOKENmust be non-placeholder values with at least 32 and 24 characters respectively.- Backend-to-AI calls should include the shared internal token.
- Public health endpoints should avoid exposing secrets or detailed runtime internals.