{"repo":"furkan-guvenc/crud_routers","free":true,"listed":false,"github":"https://github.com/furkan-guvenc/crud_routers","clone":"git clone https://github.com/furkan-guvenc/crud_routers.git","description":"Automatically create crud routes for your favorite api server and orm","language":"Rust","stars":32,"topics":["actix-web","api","axum","code-generation","crud","crud-routes","diesel","framework","openapi","rest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"crud routers crud routers is a library to automatically generate crud routes with given schemas. It is orm and web framework agnostic, highly inspired by fastapi-crudrouter. Basic usage with Axum and Diesel Installation Usage Below is a simple example of what the crud routers can do. In just ten lines of code, you can generate all the crud routers you need for any model. The full example is in diesel example folder Features Orm-Agnostic Following ORMs are implemented, and you can activate them with adding necessary features. - Diesel with feature \"diesel\" - Sea-orm with feature \"sea-orm\" You can easily add new ones by implementing necessary traits. Api Server Agnostic Following api servers are implemented, and you can activate them with adding necessary features. You can mix and match them with Orms however you want. - Axum with feature \"axum\" - Actix with feature \"actix\" OpenApi support You can easily add openapi support with feature \"openapi\" and deriving utoipa::ToSchema for your schemas. You can use all UIs supported by utoipa. Pagination Pagination is automatically setup for you. You can use the skip and limit query parameters to paginate your results. Skip : Using the skip (int) parameter, you can skip a certain number of items before returning the items you want. Limit : Using the limit (int) parameter, the maximum number of items to be returned can be defined. Opting Out Routes If you don't add a schema with create schema then create item route won't be created. Same ","default_branch":null,"files":null,"tree":[],"storefront":"/r/furkan-guvenc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/furkan-guvenc/crud_routers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}