- Frontend: React, Styled-Components, Axios & React-Icons
- Backend: Node, Express, Mongoose, JWT & CryptoJs
- Create account or Login as a User
- Watch products & products details and add to cart permanently as a user
- Place order, watch live order status pending, approved, cancel or rejected as a user
- Cancel order or remove product from permanent cart as user
- Login as an admin, watch all pending orders
- As an admin, Approve or Rejeact user orders or promote a user to admin role
- Add new product to the site as an admin
- Auto logout from current session after three hours of login
Frontend Server
# install dependencies
npm install
# start server
npm start
# build for production
npm run build
# serve in production mode
npm run preview
Backend Server
# install dependencies
npm install
# start server
npm start
# start in development mode
npm run dev
Due to Vercel and Cyclic's internal system of free tier, first request on app or backend API may take longer time than the usual, even upto a minute. So, please consider the issue and wait till the Cyclic/Vercel server wakes up or reload in case of the first front-end connection freezing/backend connection freezing happens. Thank you