An E-commerce web-based application implemented using framework NextJS, Material UI, MongoDB, and other helpful utilities.
- Provide an ecommerce gateway for shops that sell electronic devices, particularly laptops.
- Front-end: Next JS, Material UI (MUI)
- Back-end: Next JS
- NoSQL Database: MongoDB
- Responsive UI.
- Integration of Paypal payment.
- Admin dashboard.
- Cookies stored on browser.
- Available in the following demo video!
- Run
npm install
on the project's root terminal
- Install necessary packages
- Local environment variables configurations
- Create a file
.env
- Add all following environment variables.
Variable | Value |
---|---|
MONGODB_URI | your MONGODB_URI (provided on your MongoDB cluster) |
JWT_SECRET | your JWT_SECRET (a unique string to you!) |
PAYPAL_CLIENT_ID | your PAYPAL_CLIENT_ID (A unique ID for Paypal integration provided by Paypal) |
- Run
npm run dev
- Run the app in the development mode.
- Open http://localhost:3000 to view it in the browser.