Simlple example of user registration, login and CRUD action with backend restAPI using mongoDB, Nodejs(Express.js) and mongoose, authentication using JWT token also pagination and frontend using react.js and material-ui api calling with axios.
- API to register and login user.
- API using which loged in user can add, edit and update it's product.
- Pagination API to give list of perticular user's added product.
- JWT token authentication.
- Creating a Component in React and creat routing.
- Using react and material UI created form to login user and can register new user.
- Product add, edit, delete and pagination also you can search product by name.
- Making HTTP calls using Axios.
- Calling multipart api with image upload.
Below noted things you need to install to run this project in your system
- Node.js
- NPM
- MongoDB
Clone or download this repository
cd backend
npm install
cd frontend
npm install
To run node server
cd backend
npm start
To run react frontend
cd frontend
npm start
To run node server
cd backend
npm test
To run react frontend
cd frontend
npx cypress open