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
Constraints: uniform interface
stateless cacheable
client-server layered system
logs are made up of inputs
every input is a time input with an optional text field
Use plurals
/logs/time-bedtime/inputs/
Short segments Granular resources
/logs/inputs
Mirror backend structure
PUT /logs/time-bedtime_logs.put(log) //pouchdb
thx tronno! @janecakemaster
https://github.com/janecakemaster/life-api