- Install dependencies.
npm run install:all- Create
Backend/.envwith the required values.
SUPABASE_URL=your_supabase_project_url
SUPABASE_KEY=your_supabase_anon_key
SESSION_SECRET=any_long_random_string
FRONTEND_ORIGIN=http://localhost:3000
FRONTEND_REDIRECT=http://localhost:3000/dashboard
# Optional for Google OAuth:
GOOGLE_CLIENT_ID=...
GOOGLE_CLIENT_SECRET=...
GOOGLE_REDIRECT_URI=http://localhost:8000/auth/google/callback
PORT=8000Optional: if your frontend should call a different backend URL, create Frontend/.env:
VITE_BACKEND_ORIGIN=http://localhost:8000- Start the backend.
npm run backend- In a new terminal, start the frontend.
npm run start- Open the website in your browser.
http://localhost:3000