Skip to content

justindra/SproutUp-Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sproutup-Dashboard

This is a dashboard web app built in meteor for the Sprout Up project.

You can view the whole project overview here

#The Dasboard

#Installation

git clone repo
cd cloned/dir/of/repo
meteor

TODO: EXPLAIN DASHBOARD alt tag

#API

To add data into the db, you can use a REST API,

First you need to login

curl http://localhost:3000/api/v1/login -d "username=joeschmoe&password=password"

This will return a authtoken and a userId, use these values for the next calls

curl -X POST http://localhost:3000/api/v1/data/:plantId?type=light&value=45 -H "X-Auth-Token: authtoken"  -H "X-User-Id: userId"

The plantId is the given plant id specified in the dashboard, the type is the sensor type (light, moist or temp), the value is the value of the sensor.

Latest Updates

N/A

Planned Updates

API Posting from Rpi !!!!! Code Clean Up (Ugh!) Better Graphics

The Team

This was made by Justin Rahardjo and Jared Page.

Acknowledgements

We would like to thank Rebecca Simpson, Matthew Gardener and Jaco Du Plessis for being part of the iLab team !

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published