neurosity / neurosity-oauth-example

An example app for using Neurosity's OAuth built with React

Home Page:https://acmeneuro.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neurosity OAuth Example: ACME Neuro

App Screenshot

Read documentation at https://docs.neurosity.co/api/oauth

Development

Add Required Environment Variables

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

Run locally

npm start
npm run functions

This project is setup to work on port 3000 for the UI, and port 9999 for the functions server.

Deployment

This project was designed to work out of the box when deployed to Netlify.

About

An example app for using Neurosity's OAuth built with React

https://acmeneuro.netlify.app/


Languages

Language:JavaScript 89.8%Language:HTML 8.8%Language:CSS 1.4%