This framework allow you to control GPIOs of a connceted object. The objective is to create a easy to use system for non developer people who want to try the Internet of Things.
-
Clone this repository
git clone
-
Install dependencies
cd project npm install
-
Start node server
nodejs app.js
-
Done ! Go to http://localhost:3000
Routes are located in core/routes.js
URL | Action |
---|---|
/thing | Describe all the thing |
/thing/gpios | List all the thing's GPIOs |
/thing/gpio/:slug | Describe the GPIO |
/thing/gpio/:slug/events | List all the GPIO's events |
/thing/gpio/:slug/event/:id | Describe the event |
/thing/gpio/:slug/jobs | List all the GPIO's jobs |
/thing/gpio/:slug/job/:id | Describe the job |
URL | Action |
---|---|
/thing/gpio/add | Add a new GPIO to the Thing |
/thing/gpio/:slug/event/add | Add a new event to a GPIO |
/thing/gpio/:slug/job/add | Add a new job to a GPIO |
URL | Action |
---|---|
/thing/gpio/:slug | Edit a GPIO |
/thing/gpio/:slug/event/:id | Edit an event to a GPIO |
/thing/gpio/:slug/job/:id | Edit a job to a GPIO |
URL | Action |
---|---|
/thing/gpio/:slug/delete | Remove a GPIO to the Thing |
/thing/gpio/:slug/event/:id/delete | Remove an event to a GPIO |
/thing/gpio/:slug/job/:id/delete | Remove a job to a GPIO |
ALPHA-1