Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.18 KB

README.md

File metadata and controls

21 lines (15 loc) · 1.18 KB

DX Election

A sample Angular application designed to display election results from the US Presidential Election. The app uses the DevExtreme Data Visualization Controls to display Electoral College votes by individual States and vote results at the county level for each State.

For more information about DevExtreme, please visit https://js.devexpress.com/.

Prerequisites

Node.js and npm are required. Use the Node.js version 6.9.0 or higher and the npm version 3 or higher. The app was build using angular-cli. Run npm install @angular/cli -g to install it.

Required packages

Run npm install to install required node packages.

Development server

Run npm start or ng serve to start a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

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.

Live Example

A live example is available at https://devexpress.github.io/dx-election/.