Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 768 Bytes

readme.md

File metadata and controls

53 lines (33 loc) · 768 Bytes

comic-express

Usage

  • git clone

  • set env param in ./config/env.js

  • create seed user with admin permission

    • modify user id and passwd first
node seed.js
  • launch with node ./bin/www or else

API

category

path /category/

catalog

path /catalog/

  • category title
    • from response of api category ex : 冒险类
  • title for search comic-express
  • sort optional,could be set to following
    • hot , sort for hot catalog
    • update , sort for recent updated
  • limit default to 30
  • skip (offset) default to 0

chapter

path /catalog/{catalog_id}/chapter

  • catalog_id
  • limit = 2000

page

path /catalog/{catalog_id}/chapter/{chapter_id}/page

  • catalog_id
  • chapter_id
  • limit = 1000