eCommerce website in MERN stack
Tech used
- Redux Toolkit
- React.js, Node.js, Mongoose, MongoDB, Express.js
- React Bootstrap
- PayPal API
- Multer for uploading images
- JSON Web Token for authentication
Objective and Functions
- To build a clone of an eCommerce platform.
- Converted whole Redux code into Redux Toolkit as it is the new way of writing Redux
- Products are added to cart and paid for by the Costumers using PayPal.
- They can see their orders all at once. Tweak their profiles. Search for products. Add their address.
- Admins can manage mark the orders as delivered.
- Admins can add products and their images.
- Admins can tweak user details too.
- Admins can make other person admin who will have the same permissions as himself.
- Add a
.envfile to the root of the project. - Copy and paste
.env.examplefile contents into.env. PORTrefers to the backend service port. Generally, 5000.NODE_ENVcan have two valuesdevelopmentandproduction.PAYPAL_CLIENT_IDis for running the paypal integration in frontend.MONGO_URIis the MongoDB connection string. Required.JWT_SECRETis the key with JWT does encryption. Required.








