WIP experiments in route generation based on PostgreSQL schema. Not ready for any real use.
:insert-one
=>POST /
:get-by-pk
=>GET /:{pk}
:update-by-pk
=>PUT /:{pk}
:delete-by-pk
=>DELETE /:{pk}
:get-many
=>GET /
:update-by-query
=>PUT /
:delete-by-query
=>DELETE /
:insert-many
=>POST /
with header?:upsert-by-pk
=>PUT /:{pk}
with header?
- Very high throughput APIs
- There is overhead with permission checking and other things that could be avoided with a more direct approach
- More complex handlers should be managed via custom requests
- Goal of route-craft is to handle the "80%" case of CRUD operations on database tables while permitting extensibility for the rest
Copyright © 2023
Released under the MIT license.