Closed tiagojpdias closed 3 years ago
This pull request addresses issue BOT-132.
It adds a token based authentication, so to be able to communicate with the API we need to include it in the request headers:
Authorization: Bearer <token>
port
.env
Requirements when deploying the current work to an environment.
npm install
REST_TOKEN
env
FIRES_CHANNEL_ID
/fuel
The running port its not yet configurable through env, only through config file.
Closed due to inactivity.
Description
This pull request addresses issue BOT-132.
It adds a token based authentication, so to be able to communicate with the API we need to include it in the request headers:
Authorization: Bearer <token>
Task items:
port
configuration to.env
;Requirements
Requirements when deploying the current work to an environment.
npm install
in order to install the webserver;REST_TOKEN
variable needs to be set atenv
;FIRES_CHANNEL_ID
variable needs to be set atenv
when using/fuel
routes;Notes
The running port its not yet configurable through
env
, only through config file.