/bounties-api

🤖 Microservice to cache and expose our Bounties data from Gitcoin & Bounties.network. Beep boop.

Primary LanguageJavaScriptMIT LicenseMIT

banner

bounties-api

Microservice to cache and expose Bounty data from Gitcoin & Bounties.network for use throughout oceanprotocol.com.

Build Status js oceanprotocol Greenkeeper badge



API

Endpoint: https://oceanprotocol-bounties.now.sh

GET /

200: Returns the count of open bounties, and a total number counting all active and completed bounties:

{
  "gitcoin": 1,
  "bountiesNetwork": 2,
  "total": 17
}

Development

Install dependencies:

npm install

And run the server:

npm run dev

Test

Run the tests:

npm test

Deployment

Deploy to now, make sure to switch to Ocean Protocol org before deploying:

# first run
now login
now switch

# deploy
now
# switch alias to new deployment
now alias

Authors