Complete an in progress Dashboard that gives a user insights into their accounts receivable. You will be updating the dashboard to get "live" data from an API service as well as adding a new graph to show their monthly sales over time.
- Create a simple API service using your favorite language, that will return the data needed for the dashboard components. The data for each component can be found in the following files:
- Update the angular application to use the api service to get the data needed for the dashboard.
- Create a new component using chart.js to visualize the users Monthly Sales in a clear and intuitive manner. A shell component has been started for you.
- The API service can be written in the language of your choice, but you must include instructions on how to run it and how to interact with it
- Be sure to consider edge cases and error handling
- You will need to have Node.js and npm installed to build the angular application
- Have fun and be creative!
While we do not anticipate this taking more than a few hours, we understand that life happens and we want you to have as much time as you need to complete the project. You will have 1 week to complete this task. Feel free to reach out to us if you feel like you need more time.
Submit your finished project with notes on how to run it in an email to Christoper Fontaine cfontaine@lsq.com.
Feel free to reach out with any questions.
This project was generated with Angular CLI version 6.0.3.
- Prior to running the angular application for the first time you will need to install the required packages with the command
npm install
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 test
to execute the unit tests via Karma.
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.