blink/backend/apis/README.md

19 lines
548 B
Markdown
Raw Normal View History

2023-10-18 15:55:45 +02:00
# APIs
2024-02-29 17:03:28 +01:00
## Programming language
The Blink APIs are currently written in NodeJS only.
2024-02-20 22:27:44 +01:00
2024-02-29 17:03:28 +01:00
## Prerequisites
* PostgreSQL;
* NodeJS.
## Deploying
In order to deploy the Blink APIs, follow these steps:
* Configure the `.env` file in `./nodejs/src/`.
* Run `node ./nodejs/src/app.js`
## Testing the APIs
You can test the APIs in two ways:
* Open `BlinkApiUsageExample.json` with Insomnia or Bruno in order to have the collection of APIs already configured and ready to be seen in action;
* Run `npm test` in `./nodejs` to run a suite of automated tests.