No description
Find a file
2026-10-04 21:50:07 +03:00
db/migrations auth middleware 2026-09-25 21:00:18 +03:00
docs structure 2026-10-04 21:43:20 +03:00
spec wip structure 2026-10-03 21:55:32 +03:00
src structure 2026-10-04 21:43:20 +03:00
.editorconfig naive jwt auth + middleware 2026-09-25 20:18:51 +03:00
.gitignore naive jwt auth + middleware 2026-09-25 20:18:51 +03:00
app.env wip structure 2026-10-03 21:55:32 +03:00
README.md naive jwt auth + middleware 2026-09-25 20:18:51 +03:00
shard.lock naive jwt auth + middleware 2026-09-25 20:18:51 +03:00
shard.yml naive jwt auth + middleware 2026-09-25 20:18:51 +03:00

crylog

TODO: Write a description here

Installation

TODO: Write installation instructions here

Usage

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Schemer

Incoming JSON payloads are validated and unpacked declaratively. See docs/schemer.md for the full guide, examples and the extension points. Quick taste:

struct PostCreate
  include JSON::Serializable
  include Schemer::Validatable

  @[Schemer::Validate(required: true, min_length: 1, max_length: 200)]
  getter title : String
end

payload = PostCreate.require(env.request.body || "{}") # 400 via Schemer::Kemal.register!

Contributing

  1. Fork it (https://github.com/your-github-user/crylog/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors