This was created during our time as a student at Code Chrysalis.
This was the Team API Project, where a deployed MVP web application using APIs was to be built and presented in 4 days
Reflectra is an app designed to go on a Smart Mirror.
At first, it presents no information, but is continually using a camera (e.g. the webcam on a laptop) to check for the presence of a face, using face-api.js
Once it sees a face, it takes a snapshopt and sends a scaled down version of the picture to the Node.js
backend server
The backend server will send this photo to the Kairos api, which will tell the backend whether the face matches a person in the database, and who it is.
Now knowing who the person is, the backend server will then request information from MongoDB Atlas
about that user's preferences (such as what kind of headlines they would like to see).
Using these preferences, the backend server will make requests to other content apis (such as Bing News
) to fetch the desired content. Which will then be sent to the frontend.
This data is then displayed to the user on the screen.
Check out our public presentation of this app to see it in action! https://youtu.be/F3mqIgY2uUk?t=4172
Demo Deployed on Heroku This demo is now offline due to the paid API requirements
yarn install
yarn serve
yarn build
yarn lint
Please add a file named .env
to the root of your project.
In order to run the project properly, please add the following to this file:
RAPID_API_KEY=#Your Rakuten Rapid API Key
DB_CONNECTION=#Your MongoDB Atlas Connection String
Sign Up for a MongoDB account
When setting up Rakuten Rapid API, please sign up for:
Our wonderful team: (emoji key):
David Chiche ๐ป |
Fraser Tooth ๐ป |
eugenekim000 ๐ป |
Waldemar Ishibashi ๐ป |
Naoto Imamachi ๐ป |
This project follows the all-contributors specification. Contributions of any kind welcome!