A modern marketplace platform for the PESU community - Live at pesxchange.app
-
Clone the repository:
git clone https://github.com/Priyans00/PesXChange cd PesXChange -
Install dependencies:
npm install
-
Set up environment variables:
- Copy
.env.exampleto a.env.local(create it). - Add Supabase project credentials:
NEXT_PUBLIC_SUPABASE_URL=your-supabase-url NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
- Copy
-
Setup the SQL database:
- Go to https://app.supabase.com
- Open your project
- Go to SQL Editor → New Query
- Paste the contents of
setup.sql - Click Run
-
Run the development server:
npm run dev
The application will be available at:
- Development: http://localhost:3000
- Production: https://pesxchange.app
Note:
- You must have a Supabase project set up and provide valid keys for authentication and storage to work.
- For Google authentication, ensure you have configured the provider in your Supabase dashboard and set the correct redirect URLs:
- Development:
http://localhost:3000/auth/callback - Production:
https://pesxchange.app/auth/callback
- Development: