@flexicore/flexicore-client
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

How To Install

add "@flexicore/flexicore-client": "^2.2.7" to your package.json

How To Use

import the required service

import { UserService} from'@flexicore/flexicore-client';

create a factory

export  let  userServiceFactory = (http: HttpClient) =>  new  UsersService(http, SERVER_ADDRESS, new  UserService());

in the import section add:

HttpClientModule,

in the provide section add:

{ provide:  'BASE_PATH', useValue:  SERVER_ADDRESS },

and

{provide:  UsersService, useFactory:  userServiceFactory, deps: [HttpClient]},

Readme

Keywords

Package Sidebar

Install

npm i @flexicore/flexicore-client

Weekly Downloads

233

Version

4.0.1

License

MIT

Unpacked Size

1.71 MB

Total Files

862

Last publish

Collaborators

  • asaf-flexicore