DealHub is a customer-to-customer e-commerce platform. It provides users with a feature-rich online marketplace where they can create accounts, list items for sale, purchase items, rate other users, engage in messaging, and enjoy various other functionalities.
Clone this repo
git clone https://github.com/miljan-code/dealhub.git
Install necessary dependencies
npm install
# or
yarn
Add keys and secrets to .env file
# AUTH
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GITHUB_ID=
GITHUB_SECRET=
# DB - PlanetScale
DATABASE_URL='mysql://root:root@localhost:3500/dealhub'
# Cloudinary
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=
Run the development server
npm run dev
# or
yarn dev
Try it out here