Skip to content

awabcodes/nytimes-articles

Repository files navigation

NytimesPopularArticles

This project was generated with Angular CLI version 11.1.4.

Development server

Run npm install then 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.

Local JSON server

git clone this repo. Go inside the repo's directory then run npm install then npm run start-auth

Notes

The app has a proxy config inorder to work around the cors error that the NY Times Community API has, you can edit the config in proxy.conf.json file.

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.

Generating test coverage reports

Run ng test --code-coverage you will then find the generated files inside the coverage folder.

Generating code documentation

Run npm run compodoc you will then find the generated docs inside the documentation folder

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published