This example is for database audit logs
Users are idenfied based on
Authorizationheaders
npm installnpm run devcurl localhost:3000/userscurl localhost:3000/users \
-X POST \
-H "Authorization: Bearer foo" \
-H "Content-Type: application/json" \
-d '{ "email": "foo@example.com", "name": "John Doe" }'curl localhost:3000/users/1 \
-X PATCH \
-H "Authorization: Bearer foo" \
-H "Content-Type: application/json" \
-d '{ "name": "Jane Doe" }'curl localhost:3000/users/1 \
-X DELETE \
-H "Authorization: Bearer foo"