|
@ -1,7 +1,7 @@ |
|
|
require "kemal" |
|
|
require "kemal" |
|
|
require "./sales_backend/http/user" |
|
|
|
|
|
require "./sales_backend/http/product" |
|
|
|
|
|
require "./sales_backend/http/category" |
|
|
|
|
|
|
|
|
require "./authenticate/http/user" |
|
|
|
|
|
require "./authenticate/http/product" |
|
|
|
|
|
require "./authenticate/http/category" |
|
|
|
|
|
|
|
|
get "/" do |context| |
|
|
get "/" do |context| |
|
|
context.response.content_type = "application/json" |
|
|
context.response.content_type = "application/json" |