Comparison shopping website
"@mui/material": "^5.6.3",
"axios": "^0.27.2",
"react": "^18.1.0",
"react-apexcharts": "^1.4.0",
"react-bootstrap": "^2.3.0",
"react-helmet-async": "^1.3.0",
"react-toastify": "^9.0.1",
"web-vitals": "^2.1.4"
"bcryptjs": "^2.4.3",
"cheerio": "^1.0.0-rc.10",
"cors": "^2.8.5",
"dotenv": "^16.0.0",
"express": "^4.18.1",
"express-async-handler": "^1.2.0",
"jsdom": "^19.0.0",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.3.2",
"puppeteer": "^13.7.0"
https://colorhunt.co/palette/006e7ff8cb2eee5007b22727
$ git clone git@github.com:ameni-selmi/mearn-shopp-website.git
$ cd mearn-shopp-website
- duplicate .env.example in backend folder and rename it to .env
- Local MongoDB
- Install it from here
- In .env file update MONGODB_URI=mongodb://localhost/yourURL
- OR Atlas Cloud MongoDB
- Create database at https://cloud.mongodb.com
- In .env file update MONGODB_URI=mongodb+srv://your-db-connection
$ cd backend
$ npm install
$ npm start
# open new terminal
$ cd frontend
$ npm install
$ npm start
- Run http://localhost:3000/signin
- Enter admin email and password and click signin
Sign in | Sign up | User menu |
Home | Products Screen |
Product Screen | Cart Screen |
Dashboard Screen | Admin list | Add admin |