check Circular Democracy for more information about the project
This project uses Supabase for authentication and backend services. To connect to your Supabase project, you need to set up environment variables.
-
Create a
.envfile: In the root of your project, create a file named.env. -
Add your Supabase credentials: Open the
.envfile and add the following variables, replacing the placeholder values with your actual Supabase project URL and anonymous key. You can find these in your Supabase project settings under "API".VITE_SUPABASE_URL="YOUR_SUPABASE_PROJECT_URL" VITE_SUPABASE_ANON_KEY="YOUR_SUPABASE_ANON_KEY"VITE_SUPABASE_URL: Your Supabase project URL.VITE_SUPABASE_ANON_KEY: Your Supabase project's public (anon) key.
Note: For security reasons, never commit your
.envfile to version control. It's already included in.gitignore. -
Restart the development server: If your development server is running, you'll need to restart it for the new environment variables to be loaded.