Here you can see the live website Live Site.
This is the documentation for the PC Builder tool component of the PC Builder Bangladesh. This PC Builder tool helps users to select PC components and build their own PC. It is made using Next.js, Next Auth, Next API, Tailwind, Flowbite, Mongodb
-
User can log in with Google and Github.
-
User can log out.
-
Users can visit the home page, category-wise product page, products page, and product details page without login.
-
There is a protected route/page called pc builder page, User must log in to visit this page.
-
In pc builder page users can build their own pc by selecting pc components.
Please follow the below instructions to run this repository on your local machine:
-
Clone this entire repository
git clone https://github.com/Khairul38/pc-builder-assignment-6
-
Go to the cloned project directory
cd pc-builder-assignment-6
-
Make environment file with the following system
# For client make .env.local file accordingly : NEXTAUTH_SECRET="" NEXTAUTH_URL=https://pc-builder-assignment-6-sooty.vercel.app NEXT_PUBLIC_BASE_URL=https://pc-builder-assignment-6-sooty.vercel.app GITHUB_ID="" GITHUB_SECRET="" GOOGLE_ID="" GOOGLE_SECRET="" MONGO_URL=""
-
Install dependencies
npm i
-
Run client (Default Port is 3000)
# development mode npm run dev # build mode npm run build # production mode npm run start