This application is the main hub that connects with all available client applications: audio-client, eeg-brainwave-client and web-client and enables commands to be processed. Having said that, this API mainly enables user registration, saving commands and running commands. Also, this GraphQL API connects with eeg-brainwave-api through a Kafka Queue enabling brainwave data to be stored and classified.
Currently, commands are being processed and dispatched to a Philips HUE central hub, but this could be expanded to any IoT device.
- To run this api just follow the steps on compose
- Example:
sequelize model:generate --name EEGData --attributes userId:integer,time:date,theta:integer,lowAlpha:integer,highAlpha:integer,lowBeta:integer,highBeta:integer,lowGamma:integer,midGamma:integer,attention:integer,meditation:integer,blink:integer --force