crystal_api
crystal_api copied to clipboard
Simple PostgreSQL REST API in Crystal with devise-like auth.
Heya! You mention a rewrite in the readme. Does this influence the instructions in the readme as well or could I still follow those for now?
1. `User.load_from_userhash(uh : UserHash)` 2. `User.where(h : Hash)` 3. `User.pagination(page : Int32, per_page : Int)` 4. think about scoping
If it's possible make it devise compatible as much as possible
if params["page"] set use pagination with default params["per_page"] of 25. Make it possible to define in model.