Read documentation at https://docs.neurosity.co/api/oauth
Create .env
file at the root of the project and add the following:
NEUROSITY_OAUTH_CLIENT_ID=<your client id here>
NEUROSITY_OAUTH_CLIENT_SECRET=<your client secret here>
NEUROSITY_OAUTH_CLIENT_REDIRECT_URI=http://localhost:3000
npm start
npm run functions
This project is setup to work on port
3000
for the UI, and port9999
for the functions server.
This project was designed to work out of the box when deployed to Netlify.