Skip to content

PESXchange – College Marketplace for Students Buy, sell, and exchange used items within your campus. Built with Next.js 14, Supabase, Tailwind CSS, and TypeScript.

Notifications You must be signed in to change notification settings

Priyans00/PesXChange

Repository files navigation

PesXChange

A modern marketplace platform for the PESU community - Live at pesxchange.app

Installation Guide

  1. Clone the repository:

    git clone https://github.com/Priyans00/PesXChange
    cd PesXChange
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    • Copy .env.example to 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
  4. Setup the SQL database:

    1. Go to https://app.supabase.com
    2. Open your project
    3. Go to SQL Editor → New Query
    4. Paste the contents of setup.sql
    5. Click Run
  5. Run the development server:

    npm run dev

    The application will be available at:


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

About

PESXchange – College Marketplace for Students Buy, sell, and exchange used items within your campus. Built with Next.js 14, Supabase, Tailwind CSS, and TypeScript.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

Languages