https://github.com/andrew/opencollective-api

Open Collective's API. A GraphQL API powered by Sequelize and PostgreSQL.

https://github.com/andrew/opencollective-api

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 113 committers (0.9%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.1%) to scientific vocabulary

Keywords from Contributors

ecology unit-test stats sustainability infrastructure-as-code interaction climate-data climate digital-ecology phase-transition
Last synced: 10 months ago · JSON representation

Repository

Open Collective's API. A GraphQL API powered by Sequelize and PostgreSQL.

Basic Info
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of opencollective/opencollective-api
Created over 1 year ago · Last pushed over 1 year ago

https://github.com/andrew/opencollective-api/blob/main/

# Open Collective API

![CI](https://github.com/opencollective/opencollective-api/workflows/CI/badge.svg)
![E2E](https://github.com/opencollective/opencollective-api/workflows/E2E/badge.svg)
[![Discord](https://discordapp.com/api/guilds/1241017531318276158/widget.png)](https://discord.opencollective.com)

## 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.

- We recommend using [nvm](https://github.com/creationix/nvm): `nvm install && nvm use`.

2. Make sure you have a PostgreSQL database available

- Check the version: 11.0, 10.3, 9.6.8, 9.5.12, 9.4.17, 9.3.22 or newer
- More info in our [PostgreSQL Database](docs/postgres.md) documentation

3. For [node-gyp](https://github.com/nodejs/node-gyp), make sure you have Python 2 available and configured as the active version.

- You can use [pyenv](https://github.com/pyenv/pyenv) to manage Python versions.

### 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
```

- API is started on http://localhost:3060
- A local email inbox is started on http://localhost:1080

See the [dev docs](docs/dev.md) for querying basics.

#### Troubleshooting

- If you're running into `node-gyp` issues related to Python 3 vs Python 2, you can run: `npm rebuild`
- If you have issues with PostgreSQL, check our [dedicated documentation](docs/postgres.md)

## Deployment

**Summary**: This project is currently deployed to staging and production with [Heroku](https://www.heroku.com/). To deploy, you need to be a core member of the Open Collective team.

See: [docs/deployment.md](docs/deployment.md)

## More documentation:

- [PostgreSQL Database](docs/postgres.md)
- [List of supported environment variables](docs/environment_variables.md)
- [Developing with Emails](docs/emails.md)
- [Data Exports](docs/data_exports.md)

## Discussion

If you have any questions, ping us on [Discord](https://discord.opencollective.com) or Twitter
([@opencollect](https://twitter.com/opencollect)).

## License

[MIT](LICENSE)

Owner

  • Name: Andrew Nesbitt
  • Login: andrew
  • Kind: user
  • Location: Bristol, UK
  • Company: @ecosyste-ms and @octobox

Working on mapping the world of open source software @ecosyste-ms and empowering developers with @octobox

GitHub Events

Total
  • Delete event: 1
  • Push event: 3
Last Year
  • Delete event: 1
  • Push event: 3

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 13,413
  • Total Committers: 113
  • Avg Commits per committer: 118.699
  • Development Distribution Score (DDS): 0.862
Past Year
  • Commits: 121
  • Committers: 7
  • Avg Commits per committer: 17.286
  • Development Distribution Score (DDS): 0.554
Top Committers
Name Email Commits
dependabot-preview[bot] 2****]@u****m 1,857
Xavier Damman x****n@g****m 1,677
François Hodierne f****s@h****t 1,636
renovate[bot] 2****]@u****m 1,485
Benjamin Piouffle b****n@o****m 1,437
Aseem Sood a****3@y****m 689
Benjamin Piouffle b****e@g****m 589
Leo Kewitz l****o@o****m 511
Leo Kewitz l****z@g****m 488
greenkeeper[bot] g****]@u****m 352
flickz o****5@g****m 226
marcogbarcellos m****s@g****m 223
Sudharaka Palamakumbura s****p@m****a 215
Lincoln de Sousa l****n@c****g 180
Arnaud Benard a****d@g****m 158
Aseem Sood a****3@u****m 153
Sebastien Dubois s****s@p****m 141
Philmod p****d@g****m 134
Henrique h****z@u****m 129
HipsterBrown h****r@h****m 125
Sébastien Dubois s****s@u****m 108
Renovate Bot b****t@r****m 79
Piet Geursen p****n@g****m 77
Elijah Oyekunle e****e@g****m 72
Kate Beard a****n@g****m 72
Gustav Larsson g****n@g****m 69
Arnaud Benard a****3@g****m 69
Lincoln de Sousa l****n@c****i 52
Nitin Kumar s****5@g****m 48
Pia Mancini p****i@g****m 47
and 83 more...