Skip to content

Purple-Ninja/gulis-middleware

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulis-middleware

the search api for ptt beauty

Build Status Coverage Status

Quick start

npm install
npm start

Or you can specify the mongodb uri by setting the env

MONGOURI=mongodb://[HOST]:[PORT]/[Database] node app.js

GET /beauty/search

Name description Type
keyword search keyword string
push push number number
tag title tag string
limit 2 number

POST /beauty/feedback

Name description Type
like user's action boolean
imgid image id number
userid user id string

POST /beauty/logging

Name description Type
raw user's raw input string
meta push number object

GET /beauty/trending

Name description Type
userid user id string

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%