From 1d7e6365115dc87b28013c36162caf6e0d4582fc Mon Sep 17 00:00:00 2001 From: sanujitmajhi <80968929+sanu2002@users.noreply.github.com> Date: Thu, 25 Sep 2025 21:12:52 +0530 Subject: [PATCH 1/2] Create .env.example --- .env.example | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..a60df38 --- /dev/null +++ b/.env.example @@ -0,0 +1,9 @@ +NEXT_PUBLIC_SUPABASE_URL= + +NEXT_PUBLIC_API_KEY= + +NEXT_SUPABASE_USER_EMAIL= + +NEXT_SUPABASE_USER_PASSWORD= + +NEXT_GALAXE_ACCESSTOKEN= From 133000a1bd0c0309c659dc051a0e8a8917b083f9 Mon Sep 17 00:00:00 2001 From: sanujitmajhi <80968929+sanu2002@users.noreply.github.com> Date: Thu, 25 Sep 2025 21:16:33 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 63 +++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 52 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 148d79f..3a0e7bf 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,59 @@ -# Next.js Project +# HomePage_NextJs -This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app). +This is a Next.js project. Before running the application, you need to set up your environment variables. ---- +## Environment Variables -## 🚀 Getting Started +This project requires the following environment variables: -First, run the development server: +- `NEXT_PUBLIC_SUPABASE_URL` +- `NEXT_PUBLIC_API_KEY` +- `NEXT_SUPABASE_USER_EMAIL` +- `NEXT_SUPABASE_USER_PASSWORD` +- `NEXT_GALAXE_ACCESSTOKEN` + +### Setup + +1. **Copy the example environment file:** ```bash +cp .env.example .env +Open .env and fill in your credentials. +Make sure not to push your .env file to GitHub as it contains sensitive information. + +Install dependencies: + +bash +Copy code +npm install +Run the development server: + +bash +Copy code npm run dev -# or -yarn dev -# or -pnpm dev -# or -bun dev +The app should now be running at http://localhost:3000. + +Notes +.env.example contains all the required keys but no real secrets. + +.env is ignored in Git to keep your credentials safe. + +Make sure you have Node.js installed (recommend version 18+). + +Folder Structure +app/ – main Next.js app + +components/ – React components + +lib/ – utility functions + +public/ – static assets + +next.config.ts – Next.js configuration + +tsconfig.json – TypeScript config + +postcss.config.mjs – PostCSS config + +eslint.config.mjs – ESLint config +