Environment Management & CI/CD
Learn to manage different environments (development, staging, production) and integrate Supabase into your continuous integration/continuous deployment pipelines.
Why Multiple Environments?
When building applications, it's crucial to manage different stages of development. These stages are called environments.
Typically, you'll work with three main environments:
- Development (Dev): Where developers write and test new features.
- Staging: A pre-production environment for testing by QA or stakeholders.
- Production (Prod): The live application used by your end-users.
Each environment helps isolate changes and prevent issues in the live app.
Supabase & Your Environments
For effective environment management, it's best practice to have separate Supabase projects for each major environment.
This means you'd have:
- One Supabase project for your development database, auth, storage.
- Another Supabase project for staging.
- A final, distinct Supabase project for production.
This isolation prevents accidental data loss or breaking changes from affecting your live application.
All lessons in this course
- Environment Management & CI/CD
- Backup, Restore, and Disaster Recovery
- Security Auditing and Best Practices
- Monitoring, Logging & Observability