This project is demostrating CRUD to poll, respond to poll and see live analytics in charts on user choices.
For a demo, it is not linked with diffrent account and role type and though can be enhanced in next upgrade version.
Project has been created with 3 components (one to create update reset, second to respond and third to see live analytics) and few test cases.
For a analytics, project is using NG2 CHART 3rd party library.
For a hosting, Azure App service plan is used.
For devops, CI CD has been implmented with Github to main branch.
This project was generated with Angular CLI version 9.1.0-next.0.
git clone https://github.com/JayShahInd/PollingMachine.git
cd pollingmachine
Install the npm
packages described in the package.json
and verify that it works:
npm install
Run ng test
to execute the unit tests via Karma.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
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 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 README.