/tajawal-task

Primary LanguageTypeScript

Tajawal

This project was generated with Angular CLI version 1.7.4.

Running the project

after downloading the project use npm i to install the project packages dependency then run the following command ng serve -o --port 5000 the project shall be running on the following url http://localhost:5000 after that you can navigate from search and hotil lists lists to see the application flow

please consider that the days in the url shall be between XX-10-2020 and XX-12-2020 u can update the api and the changes will reflect automaticly

Features implemented

  • JSDocs: full documentation using project comments can be found via running the following command npm run compodoc then open the following page documentation/index.html

  • Unit Testing: can be tested using ng test --code-coverage then navigate to coverage/index.html

  • Multi language support to test any other language please change defines.ts DEFAULT_LANGUAGE to be ar

  • Using ngx-bootstrap with overriding for better look and feel

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 unit tests

Run ng test to execute the unit tests via Karma.

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.