This project was generated with Angular CLI version 14.2.12.
This app will help you to understand the concept of
NgRX
. You will learn how to create and use 'actions', 'selectors', 'reducers' and 'effects' with CRUD (Create, Read, Update and Delete) operation, and also you will learn how to write the unit cases in all aspects in an Angular project.Features I have added are:
- Whenever the user performs add or update operation on a row, after 3 minutes the system will notify the user to perform a new operation (update or delete) on the same by changing the background color to red of the row.
- User can sort the timezone of the record
- India => Sort by Id (default)
- New York => Sort by Date (ASC)
- London => Sort by Date (DESC)
Run ng serve --o
or npm start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
- Read this article before further steps
- run cd .\src\assets\
- json-server --watch task.json
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
To see the code-coverage as well. Then run
ng test --code-coverage
To run the particular spec.ts file
ng test --include=<path of spec.ts file> --watch --code-coverage
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.