Home

Awesome

Open Collective API

CI E2E Discord

Foreword

If you see a step below that could be improved (or is outdated), please update the instructions. We rarely go through this process ourselves, so your fresh pair of eyes and your recent experience with it, makes you the best candidate to improve them for other users. Thank you!

Development

Prerequisite

  1. Make sure you have Node.js version 20.x and NPM version 10.x.
  1. Make sure you have a PostgreSQL database available
  1. For node-gyp, make sure you have Python 2 available and configured as the active version.

Install

We recommend cloning the repository in a folder dedicated to opencollective projects.

git clone git@github.com:opencollective/opencollective-api.git opencollective/api
cd opencollective/api
npm install

Start

npm run dev

See the dev docs for querying basics.

Troubleshooting

Deployment

Summary: This project is currently deployed to staging and production with Heroku. To deploy, you need to be a core member of the Open Collective team.

See: docs/deployment.md

More documentation:

Discussion

If you have any questions, ping us on Discord or Twitter (@opencollect).

License

MIT