- Login screen.
- User list with search facility.
- Permission and Protected Route.
- View/Edit Permission
- Login Admin. This user can see everything after login.
username: admin, password: Admin@123
- Login Normal User. This user can not see the about page and Details/Edit button (user list action items)
username: user, password: User@123
- Login supervisor. This user can not see the Detail button (user list action item)
username: supervisor, password: Supervisor@123
- Install the package to manage the form state/events/values.
npm install react-hook-form
- Install the package for model/schema and data valodations.
npm i yup
- Install the resolver. It act's as mapper between react-hook-form and yup.
npm i @hookform/resolvers
- Some of the example of react-hook-form + yup + resolvers
- Styled Components (CSS using Libraries)
Install the package: npm install --save styled-components, For Typescript: npm i --save-dev @types/styled-components
- Install the bootsrtap for better user interface.
npm install bootstrap --save npm install --save @types/bootstrap
- Install the package for routing.
npm i react-router-dom
- Install the package for API call.
npm i axios
-
Notifications
You must be signed in to change notification settings - Fork 0
HsharmaCoding/11-React-Auth-Permission-Access
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Login and View/Edit Permissions with Protected Route
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published