Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/heldrida/5cc

webservice on a public URL which modifies an incoming JSON POST payload and returns a response
https://github.com/heldrida/5cc

Last synced: about 1 month ago
JSON representation

webservice on a public URL which modifies an incoming JSON POST payload and returns a response

Awesome Lists containing this project

README

        

5CC
---

Start the project by running the install command, such as:

yarn install

*let's assume you use yarn, use npm instead otherwise

> Run tests:

yarn test

> Initialise the Public API:

yarn server

Please create a webservice on a public URL which modifies an incoming JSON POST payload and returns a response.

The response should be a JSON object with property response with an Array of items.
- Where name and count match their respective properties from the payload
- The payload is filtered, so only items with a count greater than 1 are returned.
- The thumbnail is a url selected from the payload item's list of logos no larger than 128x128 but no smaller than 64x64.

Please see /samples for example request and response