This code base contains logic/structure for creating User Interface and sending the request to the RESTful APIs to backend
Feature:
- User Registration and User Login
- CUSTOMER signup is supported from UI
- ENGINEER signup is supported from UI
- ADMIN signup is not supported from UI it is supposed to be done directly from backend
- Once signed up page gets redirected to the login page
- CUSTOMER can directly login once signed up
- ENGINEER needs to wait for there status to change from PENDING to APPROVED before signup
- Once user logs in successfully, there details along with the token will be stored in local storage
- User will be redirected to the page based upon there role.
The whole repo is divided into multiple branches. Each branch contains code for a specific concept. For example session1 has the code base for user registration and login . Each branch is built on the top of the previous branch
- Understanding of React.js
- Undestanding of bootstrap
- Undestanding of hooks in react
- Axios
- Node.js
- Bootstrap
Inorder to setup the application run the following commads
npx create-react-app crm_frontend
cd crm_frontend/
Install the follwing libraries:
npm i react-router-dom --save
npm i axios --save
npm i react-bootstrap --save
npm i bootstrap --save
Want to improve? Great! Make the changes and raise a PR. Reach out to me over atulsingh15743@gmail.com