Express with ES6

An skeleton express app that allows you to use ES6 syntax. Generated by express-generator cli.

/api/auth/login /api/auth/register {"email":"","password":""} : 'Bearer {token}'

get /api/posts {data:[{id,title,body,date,user}]} // "GET" locallhost:3000/api/posts?offset=2&limit=5

get /api/posts/:id

post /api/posts {title,body} headers: {"Authorization":"Bearer {token}"}

del /api/posts/:id {token}

patch /api/posts/:id {token} {title,body}