Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

feedhenry-templates/fh-connector-mysql-cloud

Repository files navigation

FeedHenry MySQL Connector

Dependency Status

The FeedHenry MySQL Connector. For more information on MySQL see: https://github.com/felixge/node-mysql.

Group MySQL Connector API

MySQL Query

Endpoint /cloud/mysql
HTTP Method POST

Request (application/json)

Body
{
    "query": "select * from my_table"
}

Response 200 (application/json)

Body
{
    "column_a": "value",
    "column_b": "value"
}

Tests

All the tests are in the "test/" directory. The cloud app is using mocha as the test runner.

Unit tests

npm run unit

Unit coverage

npm run coverage