Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 622 Bytes

README.md

File metadata and controls

43 lines (31 loc) · 622 Bytes

ComicsReader API Proxy Server

Note

This package is already deprecated, ComicsReader now use firebase as backend.

The proxy server for ComicsReader app.

Setup

npm install
cp .sample.env .env

and edit the file

Start

npm run dev
npm run build # build es6 javascript using babel

Endpoints

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Token API_TOKEN_HERE" \
  -X POST \
  -d \
   '{
       "function": "fetchComicsInfo",
      "args": {
        "comicID": "manhua-dongjingshishi"
      }
   }' \
  http://localhost:3000/api

Deployment