Add the below routes to the worker:
GET /clubs
GET /clubs/<uuid>
POST /clubs
PATCH /clubs
DELETE /clubs
To help our future selves, we'll make the POST / PATCH / DELETE routes all bulk endpoints. That is, they can create, update, and delete several records in one request.
Add the below routes to the worker:
GET /clubsGET /clubs/<uuid>POST /clubsPATCH /clubsDELETE /clubsTo help our future selves, we'll make the
POST/PATCH/DELETEroutes all bulk endpoints. That is, they can create, update, and delete several records in one request.