Trendkill is an agnostic RESTful Microservice, for SQL DB.
392
Trendkill is an agnostic RESTful Microservice, for SQL DB. It supports MySQL, MariaDB and PostgreSQL. Use mysql2 for MySQL, mysql fpr MariaDB and pg for PostgreSQL.
Trendkill doesn't need any configuration, except for the database type and connection.
In a microservices environment it also supports Transaction Id, it logs the transaction identifier and to use it you just have to set transaction-id as the header field, in the response Trendkill will forward the given transaction id in the same field.
$ docker run
-e DB_TYPE=mysql
-e DB_HOST=127.0.0.1
-e DB_PORT=3306
-e DB_USERNAME=root
-e DB_PASSWORD=root
-e DB_DATABASE=world
-d raffaelemancino/trendkill
$ npm install
$ npm build
$ docker build . -t trendkill
$ docker run
-e DB_TYPE=mysql
-e DB_HOST=127.0.0.1
-e DB_PORT=3306
-e DB_USERNAME=root
-e DB_PASSWORD=root
-e DB_DATABASE=world
-d trendkill
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Trendkill is an GPLv2-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them.
Author - Raffaele F. Mancino
Nest is GNU GPLv2 licensed.
Content type
Image
Digest
Size
198 MB
Last updated
over 4 years ago
docker pull raffaelemancino/trendkill