Sign inSign up

neverminedio/intermediary

By neverminedio

•Updated about 3 years ago

Image
0

405

neverminedio/intermediary repository overview

⁠intermediary

⁠Description

It's a proxy service that convert some API calls to allow to proxy them when you owns a subscription.

⁠Installation

$ yarn install

⁠Running the app

You will need to set up the following env vars:

API_URL=https://ai-api-staging.nevermined.network/query   //Api of Haystack 
PORT=5555                                                 //Port that the service will run. 5555 by default
ACCESS_TOKEN_SECRET=123456                                //Access token that the user of the app will need to set up in their Authorization header

After that you can follow this:

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

⁠Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

Tag summary

Content type

Image

Digest

sha256:c76bb8c29…

Size

251.9 MB

Last updated

about 3 years ago

docker pull neverminedio/intermediary