Full Stack MERN shopping cart.
To get the app running locally :
- Clone this repo and cd to the root directory
- npm install
- npm run dev to start both the front- and backend
- npm run server to only run the backend
- npm run client to only run the frontend
- Home page with products fetched from the backend (MongoDB was used to store the products data)
- Product page with informations and add to cart function
- Cart page with all items added to the cart
- Cart state will be stored even after page refresh