@myclub_se/data-access
v3.0.0
Published
This is the package required to access the api for the MyClub Member API V3 from angular
Downloads
132
Readme
@myclub_se/data-access
This library is used to connect to the V3 version of the MyClub Member API via angular.
Configuration
To be able to communicate with the backend server you need to import the module with the following syntas:
DataAccessModule.forRoot({
app: {
clientId: ENVIRONMENT.clientId,
clientSecret: ENVIRONMENT.clientSecret
},
domain: ENVIRONMENT.backendDomain,
})
Where:
ENVIRONMENT.clientId - the client id of the application used when logging in.
ENVIRONMENT.clientSecret - the client secret of the application used when logging in.
ENVIRONMENT.backendDomain - the backend domain (should be blank in development).