This project was generated with Angular CLI version 11.2.3.
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 Overview and Command Reference page.
This is how the root folder looks with all the files
- Fork or clone the repository
- cd to the directory of the root folder (it should look like the picture above when viewed from the code editor)
npm install
the dependencies- From the script package.json, type
npm run start
in the cli to run the application - From the chrome browser go to the required server localhost://4200
- From the cli, in the root folder location type
protractor Conf/Conf.js
to run the test - From the root location, right click html file called ProtractorTestReport and open in default browser to view a more detailed view of the test results
Any problems experienced while using the application or testing the application during any request, check the mockapi website. The website may display an error upon visiting the site (e.g. Your connection is not private). This problem may be dealt in 2 ways.
- Waiting for the owner of the site to fix it.
- Change the date and time manually to the past.