Note: Initial boilerplate from ts-backend-boilerplate. For more info on commands to run check that repo.
Lightbot Backend contains an GraphQL API for the Lightbot Editor to build your bot. It also contains an API to have conversations with a deployed bot via Lightbot Widget.
The Lightbot Backend can currently deploy a bot on Dialogflow and RASA NLU.
- Node.js >= 10.x
- Yarn
- Docker & Docker-compose
The first step to run this Backend is copying the .env.example
file and editing it with
correct values. The defaults should work for development.
Next run the local docker-compose setup with yarn docker:up
Install dependencies: yarn
Run dev migration and seed: yarn migrate:dev
Start development server: yarn dev
The default login for local development:
email: test@lightbot.io
password: Test1234
yarn install
yarn dev
yarn build
yarn test
yarn lint:ts
yarn lint:prettier
yarn lint:fix