"# todo-nudge"
$ mkdir slack
$ touch slack/slack_key
$ mkdir ${home}/.nudge
$ mkdir ${home}/.nudge/db
$ mkdir ${home}/.nudge/logs
$ touch ${home}/.nudge/slack_key
java -Dspring.profiles.active=${prod/self} -jar nudge.jar
api : /todo
method : post
header : content-type, accept : application/json
body :
{
"targetDate": "20/11/27",
"channel": "slack channel",
"todo": "todo"
}
response : Long id
api : /todo?date=yy/MM/dd
method : get
header : accept : application/json
response :
[{
"id":64,
"targetDate":"yy/MM/dd",
"channel":"channel",
"todo":"todo",
"registerDate":"yy/MM/dd HH:mm:ss"}
, ...]
api : /todo/today
method : post
header : content-type,accept : application/json
response :