Was created one-page browser application, creating and editing user list when assistance provided API.
The app has three pages:
- User list page.
- User page
- Page with the user’s creation / editing form. The user list page displays:
-
List of basic user information: full name, first name, last name, date of birth, sex. Also, the button "Delete"(iconbasket) to remove the user from the list. When you click on the iconface (full name) then user page appears.
-
When you click on the button "ADD USER" you move to the user add page.
-
Full user information is displayed on the user’s page:
- first_name.
- last_name.
- birth_date.
- gender.
- job.
- biography.
- is_active.
- Click to go to edit user information(iconpen) (on the user creation / editing page).
- User delete button.(iconbasket)
-
The user’s form is displayed on the Create / Edit page, where:
- Firs Name - input with a maximum allowed length of 256 characters.
- Last name - input with a maximum allowed length of 256 characters.
- Birth Date - datapicker with date format YYYY-MM-DD.
- Gender - select with options to choose "male", "female".
- Job - input with maximum permissible length 256 characters.
- Biography - textarea with maximum permissible length 1024 symbols.
- The checkbox indicates if the user is active.
-
The form validation before sending.
- VS Code
- ESlint
- redux
- react-router-dom
- typescript
- react-dom
- fetch-request
- date-io
- JS
- API
- HTML
- SASS
- AsyncThunk
- redux-toolkit
- styled-components
- jest
- material ui
- Node v14.18.2 and higher
- NPM v6.14.12 and higher
- Fork and clone this repository
- Run
npm install
in your terminal - Run
npm start