This project was generated with Angular CLI version 9.1.9.
Incase if you dont have time to setup project locally, I have also setup a running Demo which you can test and see the working example.
To run app locally it requires following tools to be installed.
After setting up environment clone repo from github https://github.com/kamrankhatti/nod-demo.git and go inside nod-demo project folder and run yarn install
to install all packages and dependecies.
Run yarn start --open
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run yarn build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run yarn test
to execute the unit tests via Karma.
home/components/form/form.component.spec.ts
file contains complete form validation tests, give a chance to look into it.
PS. Since this project didn't communicate with APIs hence state management didn't implemented. I have an other interview demo in which I worked on back-end API integration and implemented state management.
You can find code example here and view store
folder inside src/app
and its usage inside home/home.component.ts
just a heads up though you might interested how state management works.
If you need any sort of help to configure/setup project or any other technical issue feel free to ping me at kamrankhatti@yahoo.com