@aya-flights/ngx-goox-lib
v1.18.195
Published
Angular client library for GooX backend
Downloads
411
Maintainers
Readme
NgxGooxLib
TypeScript client library for GooX API, for Angular applications (for Angular 18).
How to use The Library
- Add the package to your package.json file
- In your Angular application, add the module
// app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { GooxLibModule } from '@mottyc/ngx-goox-lib'; // <-- import the module
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
GooxLibModule.forRoot({ // <-- include it in your app module
api: 'http://localhost:8080/v1' // <-- configure GooxAPI url
})
],
bootstrap: [AppComponent]
})
export class AppModule { }
GooxConfig
api
[string
] configure Goox API url.