Skip to content

MozyOk/rails-coupon-code-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rails coupon code api

using https://github.com/baxang/coupon-code

how to use

  • rails db:create
  • rails db:migrate
  • rails s

curl http://localhost:3000/users

response example)

{"code":"H6FC-KLAB-99NR","status":"ok"}