Skip to content
/ synapse Public template

Rethink DB + Koa + GraphQL Server to handle our frontend integrations with core

License

Notifications You must be signed in to change notification settings

brian-ai/synapse

Repository files navigation

Synapse

What's it?

The idea behind synapse is to act like a proxy to handle manual overrides and interactions with the brian-core.

You'll use synapse to directly communicate with it without the necessity to access the frontend or use the voice recognition system.

Tech Stack

  • RethinkDB
  • Rethinkly
  • Koa2
  • Graphql
  • apollo-server-koa
  • RabbitMQ
  • hoopa-logger

Pre-requisites

To have this api up and running you need to have both RabbitMQ and RethinkDB services ✅.

Instalation

1 - Clone the repository

$ git clone git@github.com:brian-ai/synapse.git

2 - Install the dependencies

$ yarn

3 - Copy the env example file

$ cp env.example .env

and fill it with the correct information related to your system (RabbitMQ and RethinkDB information) Also remember to restore the database structure

4 - Run the server

$ yarn start

The api should be available under http://localhost:4000/graphql, also the graphql playground docs with all available mutations and queries.

About

Rethink DB + Koa + GraphQL Server to handle our frontend integrations with core

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published