This repository contains the code for the Reflect Backend Node.js server.
Reflect superimposes information on a reflection of the user, allowing users to multitask. The user has access to the time, date, weather, their calendar, estimated time of arrival to work (Google Maps driven), estimated Uber cost, stocks, news headlines, measured weight, calculated body-mass index, calories burned throughout the day (Google Fit API driven, to be implemented), and an estimated energy level. The user can access all this information at a glance hands-free. The mirror uses a LEAP motion sensor to let the user switch between two panes with a simple swipe.
While you're brushing your teeth, fixing your tie, or doing your hair, you can focus on what's important - the day ahead.
Note: Instructions are for UNIX systems. Use a terminal emulator, like Cygwin, if you are on Windows
- Ensure you have
node
andnpm
installed - Clone this repo by running
git clone https://github.com/ProjectReflect/reflect-api-mark-I.git
in your Terminal. - Change directory to the app by running
cd reflect-api-mark-I
. - Run
npm install
to install necessary dependencies. - Set the following environment variables:
origin
Home location,destination
Work location,mapsKey
OpenWeatherMap key, anduserKey
with a key for your user - Run
node server.js
to start the server.