the search api for ptt beauty
npm install
npm start
Or you can specify the mongodb uri by setting the env
MONGOURI=mongodb://[HOST]:[PORT]/[Database] node app.js
Name | description | Type |
---|---|---|
keyword | search keyword | string |
push | push number | number |
tag | title tag | string |
limit | 2 | number |
Name | description | Type |
---|---|---|
like | user's action | boolean |
imgid | image id | number |
userid | user id | string |
Name | description | Type |
---|---|---|
raw | user's raw input | string |
meta | push number | object |
Name | description | Type |
---|---|---|
userid | user id | string |