This project was generated with Angular CLI version 13.3.2.
Run npm install
to download all dependecies.
Run npm run api
for a mock backend server. The api will automatically run on http://localhost:3000/
.
Run ng serve
for a frontend dev server. Navigate to http://localhost:4200/
.
- Upon starting the application, the User List page should show up
- User List page should show a list of users.
- User List page should support pagination (10 users per page).
- User List page should support ordering by any of the a.m. minimum attributes
- User List page should support filtering by any of the a.m. minimum attributes.
- Every record on the User List page should have an Edit button. Clicking on the button should lead to the Edit User page.
- Edit User page should allow editing of the existing user. First name, Last name, email, status fields should be editable. The appropriate API method should be called on the Save button click event.
- Every record on the User List page should have a Delete button. Clicking on the button should display a modal asking the user, firmed, the DELETE API endpoint should be called, and the user list updated accordingly.
- Create User page should allow creating a new user with min. set of attributes.
- Every record on the User List page should have an Assign button. Clicking on the button should lead to the Assign Permission page.
- Assign Permission page should allow to add or remove permissions for the selected user and call appropriate API
This aplication uses json-server for backend