Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: create .env.example for bootstrap nextjs (#22309)

Han Qiao5f11d81630ef
diff --git a/examples/slack-clone/nextjs-slack-clone/.env.local.example b/examples/slack-clone/nextjs-slack-clone/.env.example
similarity index 77%
rename from examples/slack-clone/nextjs-slack-clone/.env.local.example
rename to examples/slack-clone/nextjs-slack-clone/.env.example
index 297256db311..e3a1289f58d 100644
--- a/examples/slack-clone/nextjs-slack-clone/.env.local.example
+++ b/examples/slack-clone/nextjs-slack-clone/.env.example
@@ -1,4 +1,4 @@
# Get these from your API settings: https://supabase.com/dashboard/project/_/settings/api
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
-NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
\ No newline at end of file
+NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
diff --git a/examples/slack-clone/nextjs-slack-clone/README.md b/examples/slack-clone/nextjs-slack-clone/README.md
index 183701a7358..a29ae341eb3 100644
--- a/examples/slack-clone/nextjs-slack-clone/README.md
+++ b/examples/slack-clone/nextjs-slack-clone/README.md
@@ -61,10 +61,10 @@ Simply clone this repo locally and proceed to the next section.
### Required configuration
-Copy the `.env.local.example` file into a file named `.env.local` in the root directory of the example:
+Copy the `.env.example` file into a file named `.env.local` in the root directory of the example:
```bash
-cp .env.local.example .env.local
+cp .env.example .env.local
```
Set your Supabase details from [step 3](#3-get-the-url-and-key) above:
diff --git a/examples/user-management/nextjs-user-management/.env.example b/examples/user-management/nextjs-user-management/.env.example
new file mode 100644
index 00000000000..e3a1289f58d
--- /dev/null
+++ b/examples/user-management/nextjs-user-management/.env.example
@@ -0,0 +1,4 @@
+# Get these from your API settings: https://supabase.com/dashboard/project/_/settings/api
+
+NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
+NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key