Featured packages route(s)
Dragon1320 opened this issue · 0 comments
Dragon1320 commented
Route to get all featured packages and some way to add/remove them.
IMPORTANT: place these routes above packages/:publisher
GET /packages/featured
get all featured
POST /packages/featured/:packageId
add featured to package, takes pkg id and images
DELETE /packages/featured/:packageId
remove featured from pkg, takes pkg id, clears img fields (not needed anymore)