This project was generated with Angular CLI version 9.1.4.
Create a new Project on your Firebase console.
Create a new Web App.
Copy the Config data and paste them in the environment.ts
and environment.prod.ts
Files.
The Service for the News Api can be found under services\new.
You visit the News Api's Offical website and register for an Api Key.
Once you have the Api Key, you can now paste the URL along with the key in getNews()
function to access the data.
The News component is responsible for Displaying the Data recived from the Api.
Run npm install
command to install all the packages required.
The Dependencies required for the Project are enlisted in 'package.json' file.
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.
The website can be found on the domain Book My Space .
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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.