Demo - Laptop Optimize Website
Technology used in front-end development
- React
- Material UI
- Material-Icon
- React-Router-DOM
- React-Swipeable-Views
Technology used in Back-end Development
- NodeJs
- ExpressJs
- Cors
- Dotenv
- Mongoose
- Jsonwebtoken
- Shortid
- Nodemon
Note: I have followed the MVC(Model-View-Controller) pattern to build this API.
Get : /api/products/single/:id
Get : /api/products/all
Post : /api/products/add
Put : /api/update/:id
Delete : /api/delete/:id
Get : /api/order/all
Get : /api/order/user/all
Post : /api/order/confirm
Delete : /api/order/delete/:id
Put : /api/order/status/:id
Post : /api/admin/login
Get : /api/admin/login/verify
Installing the dependencies that are related to the project using yarn or npm package manager.
In the project client-side directory, you can run:
Runs the app 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.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
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!
In the project server-side directory, you can run:
Runs the app in the development mode.
Open http://localhost:8000 to view it in the browser.