Skip to main content

Best Practices

Before Every Push​

  1. ✅ Always run yarn build locally
  2. ✅ Fix any build errors before pushing
  3. ✅ Run linter (yarn lint)
  4. ✅ Test critical user flows in development

Deployment Strategy​

  1. Development → Test in dev branch first
  2. Staging → Deploy to staging for QA
  3. Production → Merge to main after validation

Code Quality​

  • ✅ Type safety: Ensure TypeScript compiles
  • ✅ Linting: Fix all ESLint warnings
  • ✅ Testing: Test critical paths manually
  • ✅ Documentation: Update docs for new features

Monitoring​

  • ✅ Check deployment logs after each deployment
  • ✅ Monitor error logs in Vercel dashboard
  • ✅ Test production URLs after deployment
  • ✅ Verify external integrations (Supabase, Directus, Redis)