This Project is based majorly on Angular Material to display data from a JSON API. This project was generated with Angular CLI version 6.0.8.
- Displays data fetched in a table with sortable header
- User can select date range from datepicker to filter data
git clone https://github.com/OlaJohn-Ajiboye/SMS-FE.git (or download Zip && Exract)
cd sms-fe
npm install
- Run
ng serve
for a dev server. Navigate tohttp://localhost:4200/
. - The app will automatically reload if you change any of the source files.
- 4200 is the deafult port for Angular. If port 4200 is in use on your machine.
- You can select another port by adding the --port flag eg:
ng serve --port [portNumber]
for example if you wish to use port 5000 run ng serve --port 5000
, then navigate to http://localhost:5000/
- The
src
directory contains files and folder for development. Theapp
folder contains required components, services and modules for the app. - The
cities-table-component
is used to display the data in a tabular format usingAngular Material DataTable
============================
Run ng generate
component component-nameto 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.