Implementation of a generic backend of eshop in Crystal
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

11 行
240 B

  1. require "kemal"
  2. require "./sales_backend/http/user"
  3. require "./sales_backend/http/product"
  4. require "./sales_backend/http/category"
  5. get "/" do |context|
  6. context.response.content_type = "application/json"
  7. "OK".to_json
  8. end
  9. Kemal.run