/HeroloLib

Simple book library utilizing rxjs Observables, angular new cdk and more

Primary LanguageTypeScriptMIT LicenseMIT

HeroloLibrary

Live Demo

This project was generated with Angular CLI version 1.5.0.

Usage

This application uses NY Times API to fetch data. you'll need a key that you can get from here

When you recieved your key just import the NYTModule and initialized it with the key

import { NytApiModule } from './modules/nyt-api';
@NgModule({
  imports: [
    ...,
    NytApiModule.forRoot({ api_key: 'YOUR_API_KEY' })
  ],
  ...})
export class AppModule {}

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.

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.