This is a clone of shoping site where you can buy the product and rate them and top rated products are offered first.It also has admin feature where you can
regulate your site.
It is made on MERN stack ie.
- Mongoose
- ExpressJS
- ReactJS with Redux and Thunk
- NodeJS
steps -
- Run following command in your git bash - git clone https://github.com/Palak-137/Shopping-website-using-MERN.git
- Run the following command in root folder ie Shopping-website-using-MERN- npm install
- Run the command in frontend folder - npm install
- In the root folder run the command - npm run dev
- Open http://localhost:3000/ in your browser
The frontend is made with ReactJS and Redux with thunk. The store data is locally save in your browsers local Storage from where all the component is getting the required data. Redux Thunk middleware allows you to write action creators that return a function instead of an action. The thunk can be used to delay the dispatch of an action, or to dispatch only if a certain condition is met.
The database is no-sql form ie. Mongoose. Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment.
Mongoose supports both promises and callbacks.
ExpressJS is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
- Add to cart
- Login/SignUp
- Search an Item
- Edit your Profile
- Top rated product are shown first
- Rating and review can be given
- Admin functionalty
- Responsive