Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 1.8 KB

README.md

File metadata and controls

56 lines (31 loc) · 1.8 KB

Polling

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.

Get started

Clone the repo

git clone https://github.com/JayShahInd/PollingMachine.git
cd pollingmachine

Install npm packages

Install the npm packages described in the package.json and verify that it works:

npm install

Running unit tests

Run ng test to execute the unit tests via Karma.

Development server

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.

Code scaffolding

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.

Build

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.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.