Skip to content

asfernandes/node-firebird-drivers

Repository files navigation

CI

Firebird drivers for Node.js / TypeScript

This project is the root project of a monorepo with Firebird drivers for Node.js / TypeScript (or JavaScript).

The sub projects are there:

Contributing

Clone this repo then run:

  • yarn
  • yarn bootstrap
  • yarn test

Testing

  • yarn run test (default user and password will be used during tests)

As of now tests require Firebird 4 server and will fail when executed using Firebird 3.

You can put test configuration in .env file in the project root directory, like the following example:

ISC_USER=sysdba
ISC_PASSWORD=masterkey
NODE_FB_TEST_HOST=localhost
NODE_FB_TEST_PORT=3050
NODE_FB_TEST_TMP_DIR=/tmp/node-fb-tmp

You can also set environment variables externally. For node-firebird-native-api, ISC_USER and ISC_PASSWORD could not be set in the .env file currently. It should be set externally.

If NODE_FB_TEST_HOST is ommited, embedded server will be used.

NODE_FB_TEST_PORT defaults to 3050.

For remote server make sure to specify NODE_FB_TEST_TMP_DIR.

For local server or embedded, if NODE_FB_TEST_TMP_DIR is ommited a temporary directory will be created.

Donation

If this project help you reduce time to develop, you can show your appreciation with a donation.