The arduino repo: https://github.com/noahg9/bridea-arduino
The production database is a Postgres database. Because we want it to persist across sessions, we choose not to reinitialise it at runtime.
For test purposes, there is a dev profile with a configured H2 database. The relevant schema-h2.sql & data-h2.sql are also present in order to use the H2 database with demo data.
In addition to the standard libraries, the following is used:
- OpenCsv for writing our brain data to a csv file.
- JSerialComm for communication with the arduino/headset via serial port.
In the UI layer, the following is used:
- Chart.js for making our dashboard charts.
The brain data is extracted from the headset soldered to the arduino. The arduino is connected over serial connection and the serial port is configured manually when running the application.
Data Video: Short demo video of a session coming to an end because the "take a break" was triggered.
Statement: Multiple graphs, each displaying a user's history of recorded sessions in a different way
(to see this data filled in you are welcome to log in with account "testUser" and password "pass").
History: User's past recorded sessions.




