This project was developed using MERN stack. ReactJs provides the the views to the user, while Node with Express Server provides an API which can handle the appropriate requests. MongoDB atlas service was used to host and secure the database cluster.
Deployed App : https://shop-mern.herokuapp.com
Available Scripts
In the project directory, you can run:
npm start
Runs the React App (Frontend) in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
npm run server
Runs the Node API (Backend) in the development mode.
Open http://localhost:5000 to view it in the browser.
To make the page reload if you make edits, please start this script with nodemon.
You will also see any lint errors in the console.
npm test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
npm run build
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
npm run eject
Note: this is a one-way operation. Once you eject
, you can’t go back!