Skip to content
Backend for administration panel for Lexica virtual agent
HTML TypeScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
build
coverage
src
.gitignore
Dockerfile
LICENSE.md
README.md
docker-compose.yml
jest.config.js
package-lock.json
package.json
tsconfig.json
tslint.json

README.md

Lexica

Introduction

This repository contains backend code for Lexica virtual dialogue system admin portal.

Prequisites

  • Amazon Web Service
  • MongoDB >= 3.6
  • Node.js >= 10
  • Typescript >= 3.5.1
  • Docker >= 17.09
  • docker-compose >= 1.17.1

Getting Started

This backend is built on top of docker. Docker and docker-compose is required to run. In addition, there is a list of environment variable that this backend system uses. You need to create a .env with the following:

PORT=
MONGO_URL=
SCRYPT_N=
SCRYPT_R=
SCRYPT_P=
SCRYPT_SALT=
SCRYPT_KEYLEN=
JWT_KEY=
JWT_EXPIRE_SECOND=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
AWS_CHATBOT_S3_API_VERSION=
AWS_CHATBOT_S3_BUCKET=
AWS_CHATBOT_SES_API_VERSION=
AWS_CHATBOT_SES_REGION=
AWS_CHATBOT_SES_SENDER=
SUGGESTION_SERVER_URL=  

Once you have all the environment variable setup. Simply run the following command to start.

docker-compose up --build

Licence

MIT License

Contributing

Contributions are welcome!

You can’t perform that action at this time.