This repository was archived by the owner on Feb 8, 2024. It is now read-only.
v0.9.0 🎈
Breaking changes
- Renamed
.resource()
to.crud()
83e6256 - Removed
.before()
and.after()
aliases in favor to.beforeEach()
and.afterEach()
c3af94e
Features
- Add
.resources()
createRest(root => {
root.resources('users', UsersController)
})
// GET /users -> index()
// POST /users -> create()
// GET /users/:userId -> read()
// PUT /users/:userId -> update()
// PATCH /users/:userId -> patch()
// DELETE /users/:userId -> destroy()