- Push your code to GitHub
- Connect repository to Vercel
- Set environment variables:
NEXTAUTH_SECRET=your-secret-key NEXTAUTH_URL=https://your-domain.vercel.app GEMINI_API_KEY=your-gemini-api-key - Deploy!
# Build
docker build -t certiflow-ai .
# Run
docker run -p 3000:3000 \
-e NEXTAUTH_SECRET=your-secret \
-e NEXTAUTH_URL=http://localhost:3000 \
-e GEMINI_API_KEY=your-gemini-key \
certiflow-ainpm install
npm run build
npm start| Variable | Required | Description |
|---|---|---|
NEXTAUTH_SECRET |
Yes | Auth encryption key |
NEXTAUTH_URL |
Yes | Your app URL |
GEMINI_API_KEY |
No | Enables AI features |
After deployment, verify at:
GET /api/health
Expected response:
{
"status": "healthy",
"checks": [...]
}| Password | Role | |
|---|---|---|
| admin@certiflow.ai | admin123 | Admin |
| auditor@certiflow.ai | auditor123 | Auditor |
| user@certiflow.ai | user123 | User |
- Set strong
NEXTAUTH_SECRET - Configure proper
NEXTAUTH_URL - Add
GEMINI_API_KEYfor AI features - Enable HTTPS
- Set up monitoring (health endpoint)
- Configure error tracking