Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
NEXT_PUBLIC_SUPABASE_URL=

NEXT_PUBLIC_API_KEY=

NEXT_SUPABASE_USER_EMAIL=

NEXT_SUPABASE_USER_PASSWORD=

NEXT_GALAXE_ACCESSTOKEN=
63 changes: 52 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -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