angular-news-application-with-material
所属分类:TypeScript编程
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2021-02-11 06:41:32
上 传 者:
sh-1993
说明: 从BBC新闻、CNN、TechCrunch、赫芬顿邮报和mor...
(Getting the latest live articles from a range of sources including BBC News, CNN, TechCrunch, Huffington Post and more, along with different categories like technology, sports, business, science and entertainment. I think that what makes this application special.)
文件列表:
.editorconfig (245, 2018-12-29)
angular.json (3602, 2018-12-29)
e2e/ (0, 2018-12-29)
e2e/protractor.conf.js (752, 2018-12-29)
e2e/src/ (0, 2018-12-29)
e2e/src/app.e2e-spec.ts (308, 2018-12-29)
e2e/src/app.po.ts (208, 2018-12-29)
e2e/tsconfig.e2e.json (213, 2018-12-29)
package-lock.json (394128, 2018-12-29)
package.json (1382, 2018-12-29)
screenshots/ (0, 2018-12-29)
screenshots/introduction.PNG (454016, 2018-12-29)
screenshots/overview.PNG (639589, 2018-12-29)
src/ (0, 2018-12-29)
src/app/ (0, 2018-12-29)
src/app/app.component.css (628, 2018-12-29)
src/app/app.component.html (2062, 2018-12-29)
src/app/app.component.spec.ts (995, 2018-12-29)
src/app/app.component.ts (808, 2018-12-29)
src/app/app.module.ts (865, 2018-12-29)
src/app/news-api.service.ts (646, 2018-12-29)
src/assets/ (0, 2018-12-29)
src/assets/images/ (0, 2018-12-29)
src/assets/images/abc-news-au.png (22489, 2018-12-29)
src/assets/images/abc-news.png (22142, 2018-12-29)
src/assets/images/aftenposten.png (3051, 2018-12-29)
src/assets/images/al-jazeera-english.png (12951, 2018-12-29)
src/assets/images/ansa.png (9755, 2018-12-29)
src/assets/images/argaam.png (8355, 2018-12-29)
src/assets/images/ars-technica.png (30679, 2018-12-29)
src/assets/images/ary-news.png (19972, 2018-12-29)
src/assets/images/associated-press.png (1246, 2018-12-29)
src/assets/images/australian-financial-review.png (3702, 2018-12-29)
src/assets/images/axios.png (3216, 2018-12-29)
src/assets/images/bbc-news.png (1358, 2018-12-29)
src/assets/images/bbc-sport.png (1364, 2018-12-29)
src/assets/images/bild.png (1144, 2018-12-29)
... ...
# News Application With Angular and Material Design
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.8.
## Project overview
![News Application](/screenshots/introduction.PNG?raw=true)
From different angles
![News Application full overview](/screenshots/overview.PNG?raw=true)
## Acquiring Free API Key
Next step is getting a free API key at [News API](https://newsapi.org/) witch will help us make some call requests to the server and retrieve the news articles.
Once the api key is in your hands, go to `/src/app/news-api.service.ts` and paste it to where it said put “PUT_YOUR_API_KEY_HERE”.
## Installing dependencies
After the downloading the repository head on to the project root folder and run the `npm install` command line.
## 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](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
近期下载者:
相关文件:
收藏者: