1.5.1 • Published 1 month ago

@arxis/api v1.5.1

Weekly downloads
25
License
-
Repository
-
Last release
1 month ago

Api

This library was generated with Angular CLI version 8.2.0.

Instalation

Configure

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
import {
  API_ENDPOINT_CONFIG,
  ApiService,
  ApiModule
} from '@arxis/api';

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, ApiModule],
  providers: [
    ApiService,
    { provide: API_ENDPOINT_CONFIG, useValue: { url: 'http://examplex.com' } }
  ],
  bootstrap: [AppComponent]
})
export class AppModule {}

Code scaffolding

Run ng generate component component-name --project api to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project api.

Note: Don't forget to add --project api or else it will be added to the default project in your angular.json file.

Build

Run ng build api to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build api, go to the dist folder cd dist/api and run npm publish.

Running unit tests

Run ng test api to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

1.3.7

1 month ago

1.5.1

1 month ago

1.3.3

1 month ago

1.3.9

1 month ago

1.3.8

1 month ago

1.3.2

2 months ago

1.3.0

1 year ago

1.2.0

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.6

2 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago