Skip to content

Latest commit

 

History

History
66 lines (40 loc) · 984 Bytes

README.md

File metadata and controls

66 lines (40 loc) · 984 Bytes

api-sdk

SDK for Voiceflow API, with typings for general voiceflow data structures.

Getting Started

Environment

In order to run this package locally, make sure you have yarn and brew installed. You also need to acquire a .env file and a local_sercrets.yaml file from engineering to load development secrets.

Package Manager

This Repository Relies on yarn and does not work with npm

Install Dependencies

Use yarn to install this project's dependencies.

yarn install

Generate SSL Certificates

Use mkcert to generate and install SSL certificates for local development.

yarn gen-certs

Usage

Build

Run tsc to generate a compiled version of the server.

yarn build

Start

Run the express server locally.

yarn local

Testing

Linting

Test the code for linting errors with estlint.

yarn lint

Unit Tests

Run unit tests with mocha.

yarn test