oceanprotocol-archive / bounties-api

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

Home Page:https://oceanprotocol.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Deprecated. Please use https://github.com/oceanprotocol/community-numbers


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

About

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

https://oceanprotocol.com

License:MIT License


Languages

Language:JavaScript 100.0%