npm install
Create a .env.local
file in the root directory with your Wix Studio configuration:
NEXT_PUBLIC_WIX_CLIENT_ID=1e064af1-97ee-4c5a-8631-8f951b2f0b15
NEXT_PUBLIC_WIX_SITE_ID=5b2c9f91-0e9c-4f31-914c-55943f6483dc
npm run dev
Your Wix Studio Headless project is already set up with:
5b2c9f91-0e9c-4f31-914c-55943f6483dc
1e064af1-97ee-4c5a-8631-8f951b2f0b15
localhost:3000
and *.github.io
✅ OAuth authentication with Wix
✅ Login/Signup functionality
✅ Session management with cookies
✅ User profile display
✅ Responsive UI with Tailwind CSS
✅ TypeScript support
To deploy to GitHub Pages:
npm run build
.env.local
file is created with the correct valueslocalhost:3000
for development