1.200.0 • Published 26 days ago

@bigid/apps-infrastructure-node-js v1.200.0

Weekly downloads
-
License
-
Repository
github
Last release
26 days ago

apps-infrastructure-node-js

The applications infrastructure for node.js is a wrapper for node application.

This wrapper handles all the necessary endpoints for communicate with bigid, provide dtos and logger for quick application development.

HOW TO USE?

First get the package from npm.

npm install @bigid/apps-infrastructure-node-js

After the package installed - implement all the providers in your application and in your root app file use deployServer() for creating the server.

How to use sdk's scheduler service?

If you have any function that needs to be running for each of the tenants that uses the application in any time period you can use the sdk's scheduler service.

First import the schedule function

const { scheduleFunction } = require('apps-infrastructure-node-js');

Then call it with the necessary params

scheduleFunction('dailyInsightUniqueName', '* * * * *', callbackToExecute)

But before you are running your application please make sure you configure the next environment variables depends where the application was deployed

###Single tenant mode BIGID_BASE_URL - bigid url

BIGID_REFRESH_TOKEN - refresh token that will be used to execute api calls

###Multi tenant mode BIGID_BASE_URL - bigid url

AUTH0_DOMAIN - auth0 domain where the application configured - will be provided by BigID's application framework team

CLIENT_ID - client id of the application in auth0 - will be provided by BigID's application framework team

CLIENT_SECRET - client secret of the application - will be provided by BigID's application framework team

1.200.0

26 days ago

1.197.1

2 months ago

1.194.0

4 months ago

1.197.0

2 months ago

1.191.1

5 months ago

1.191.0

5 months ago

1.180.1

10 months ago

1.180.0

10 months ago

1.183.1

8 months ago

1.181.3

10 months ago

1.181.2

10 months ago

1.181.1

10 months ago

1.180.2

10 months ago

1.189.0

6 months ago

1.187.0

7 months ago

0.2.0

2 years ago

0.2.0-BDT-42482

2 years ago

0.1.0-BDT-40749

2 years ago

0.1.0

2 years ago

0.1.1

2 years ago