Skip to content

v1.15.4

Compare
Choose a tag to compare
@jimlambie jimlambie released this 15 Feb 04:20

<a name"1.15.4">

1.15.4 (2017-02-15)

Bug Fixes

  • pass auth indicator to connection (1d3ebed4)

How to create an API client

From the root of your API installation, run the following command:

npm explore @dadi/api -- npm run create-client

This will start the Client Record Generator, accessing you a series of questions and finally inserting the client record into the database you have configured.

To ensure the correct database is used for your environment, add an environment variable to the command:

NODE_ENV=production npm explore @dadi/api -- npm run create-client