Implementation of a generic backend of eshop in Crystal
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

11 righe
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