This server is hosted at (http://pandoras-box-team.herokuapp.com/).
Pandora's Box is a mobile app and Internet of Things project designed to streamline and gamify Interactions with parents and children on the subject of chores or tasks. It sets up a system where there is a tangible reward controlled by the mobile application.
Parents create tasks remotely and approve them but the kids ultimately get the satisfaction of remotely opening the box to get their reward.
NOTE: You will need clone this server repo, the client repo at (https://github.com/pandoras-box/Client) and the Raspberry Pi server repo at (https://github.com/pandoras-box/Pi-Server).
- Fork and clone this repo
$ cdinto the folder and$ npm install- Create a PSQL database named
pandora-db - Run
$ knex migrate:latestand$ knex seed:run - See the
example.envfile for needed Environment variables- Don't forget to create your own
.envfile with your project's specific Environment variables
- Don't forget to create your own
- Create a FaceBook Developer account for OAuth authorization
- Launch nodemon on the server with
$ PORT=5000 nodemonfrom the root of the sever repo- This will let you test the client with
$ ionic serve --labwhich defaults to port 3000
- This will let you test the client with
- Your server is now ready to connect to the mobile clients and RPi