This is a Next.js project. Before running the application, you need to set up your environment variables.
This project requires the following environment variables:
NEXT_PUBLIC_SUPABASE_URLNEXT_PUBLIC_API_KEYNEXT_SUPABASE_USER_EMAILNEXT_SUPABASE_USER_PASSWORDNEXT_GALAXE_ACCESSTOKEN
- Copy the example environment file:
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
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