Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setupCrud(urlpart, idparam, class) #3

Open
evanp opened this issue Jan 21, 2016 · 1 comment
Open

setupCrud(urlpart, idparam, class) #3

evanp opened this issue Jan 21, 2016 · 1 comment

Comments

@evanp
Copy link
Member

evanp commented Jan 21, 2016

Since we'll be doing a lot of CRUD endpoints, let's save some boilerplate by having a method to setup a group of CRUD routes:

  • POST /plans = create
  • GET /plan/:id = read
  • PUT /plan/:id = update
  • DELETE /plan/:id = delete
@evanp
Copy link
Member Author

evanp commented Jan 21, 2016

PATCH, too?

@walkah walkah removed their assignment Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants