Web application that shows the brainwave data fetched from database by id.
- Frontend: Next.js, SCSS,
- Backend: Nest.js, GraphQL
- Database: MySQL(Docker), Google Cloud Storage(Docker)
Add your own CSV brain data file to the directory data/sample-bucket/
with the name of sample-1.csv
).
The CSV file should be formated with two columns time
, data
.
Example:
time,data
0,750.526803
0.005,1185.574054
...
docker-compose up -d
At initial running, initial data with sample-1.csv
file is supposed to be created in mysql.
-
For client,
cd client && yarn dev
(Access:http://localhost:3000
) -
For server,
cd server && yarn start
(Access:http://localhost:3300
) -
To see playground of graphQL, access
http://localhost:3300/graphql
By specifing id on uri, you will get the brainwave data you want.
http://localhost:3000/{id}
({id}
is compatible with auto-increase id
in mysql.)