Implementation of a generic backend of eshop in Crystal
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
240 B

require "kemal"
require "./sales_backend/http/user"
require "./sales_backend/http/product"
require "./sales_backend/http/category"
get "/" do |context|
context.response.content_type = "application/json"
"OK".to_json
end
Kemal.run