No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Latest commit e20dfc3 Jun 2, 2018
Permalink
Failed to load latest commit information.
app Introduce my_replenish_products and move assets from customer to baye… Apr 10, 2017
bin init Jan 9, 2017
config Only one developer remain. Nov 26, 2017
lib no need set padding May 26, 2018
log init Jan 9, 2017
public init Jan 9, 2017
test use JSON.parse instead of JSON.load Jan 20, 2017
tmp init Jan 9, 2017
.gitignore init Jan 9, 2017
.rubocop.yml init Jan 9, 2017
Capfile Need enable sidekiq separately. Oct 14, 2017
Gemfile End of bayekeji. Jun 2, 2018
Gemfile.lock End of bayekeji. Jun 2, 2018
README.md Review the swagger notes. Jan 17, 2017
Rakefile init Jan 9, 2017
config.ru init Jan 9, 2017
rapi.sublime-project init Jan 9, 2017

README.md

README

This Rails project is a backend reference source for wechat mall applet, it need baye internal db to running, so normally, you can not running in your dev env, but only can reference.

To generate swagger docs

bundle exec rake swagger:docs RAILS_ENV=production

Known issue

Need change basePath of swagger_doc/api-docs.json from empty to http://localhost:3000/swagger_doc in file public/swagger_doc/api-docs.json, then using http://localhost:3000/swagger_doc/api-docs.json to access.

staging env change to

  "basePath": "https://rapi-staging.bayekeji.com/swagger_doc",

Using https://rapi-staging.bayekeji.com/swagger_doc/api-docs.json to access.

RAPI swagger UI site