Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1 KB

File metadata and controls

32 lines (24 loc) · 1 KB

Shop-Kart

A shopping-cart built with react js and node js

Frontend -> Built using Reactjs

Backend -> Built using Nodejs

Dump folder has mongodb sample dump data

Prerequisites

  • Nodejs
  • MongoDb

Running this project

  1. Clone this project
  2. Open backend folder in cmd and execute

    npm install

  3. Open frontend folder in cmd and execute

    npm install npm install bootstrap

  4. Setup the mongodb with dump data.
  5. Change the file backend/server.js with links and port of mongodb
  • If you change nodejs port from 4000 to something else you need to confire the frontend folder with many place. Try to work with port 4000. And keep port 3000 free for react. Else everything at your risk!
  1. Open Backend folder in cmd and execute the following command

    nodemon server

  2. Open Frontend Folder in cmd and execute the following command

    npm start

Website must popup in your browser

This project is not yet deployed for production. Still adding components!