This Angular application is designed for user management. It is built with Angular 18, incorporates Elf for state management, utilizes RxJS for handling reactive data streams, and uses SCSS for styling.
This application provides the following capabilities for managing users.
-
Table of Users: Displays a list of users with the columns
id,nameandactivate- Each row has a toggle button for changing the
activestatus.
- Each row has a toggle button for changing the
-
Add User Modal: Allows users to add a new user through a modal form.
- Fields:
name(with async validation for uniqueness name),active(default: false) - A "Create" button which becomes enabled only when the form is valid and the async validation has passed
- Fields:
-
Button Enable Conditions: The "Add User" button is only enabled if:
- All users are active.
- The total number of users is less than 5.
- Angular 18
- Elf (state managment libary)
- RxJS
- SCSS
- Clone the repository.
- Run command for install dependencies:
npm install - Run the app:
ng serve