life api: using personal data for life gains and well being

44
life-api jane kim @janecakemaster

Upload: fitc

Post on 15-Apr-2017

164 views

Category:

Internet


2 download

TRANSCRIPT

life-api jane kim

@janecakemaster

being an adult is hard

😔

😟😖😭

fitness trackers and

apple watches

fitness trackers and

apple watches

😒

personal data

personal data +

code

personal api?

life-api DIY personal tracking

what do you want to track?

🍖->💩🍣->☠ 🚴->+

😟😪💀😀

become a better photographer

📸

good habits are built with with incremental wins

i have the data now what?

configurable goals - incremental - long term - small wins

+ +

let's write a personal api

what's an API?

what's a RESTful API?

REpresentational State

Transfer

Resource-based service

Constraints: uniform interface

stateless cacheable

client-server layered system

REST isn't going away

server routes

data store

logs are made up of inputs

every input is a time input with an optional text field

Tips

Use plurals

/logs/time-bedtime/inputs/

Short segments Granular resources

/logs/inputs

Mirror backend structure

PUT /logs/time-bedtime_logs.put(log) //pouchdb

Tools

constant WIP

thx tronno! @janecakemaster

https://github.com/janecakemaster/life-api