It's a learning repo for creating CRUD functionality with Rust and Sqlite.
- GET
/
: heath check endpoint - GET
/users
: return list stored users - POST
/users
: create a new user - GET
/users/{id}
: get user with the specified {id} - PATCH
/users/{id}
: update user with the specified {id} - DELETE
/users/{id}
: delete user with the specified {id}
Run the following command:
cargo run
- Handle errors properly & printing them
- return a meaningful error responses