{"id":13553599,"url":"https://github.com/opencollective/opencollective-api","last_synced_at":"2025-04-03T05:31:16.834Z","repository":{"id":32286819,"uuid":"35861629","full_name":"opencollective/opencollective-api","owner":"opencollective","description":"Open Collective's API. A GraphQL API powered by Sequelize and PostgreSQL.","archived":false,"fork":false,"pushed_at":"2024-10-29T11:18:51.000Z","size":199559,"stargazers_count":419,"open_issues_count":63,"forks_count":267,"subscribers_count":48,"default_branch":"main","last_synced_at":"2024-10-29T11:57:34.879Z","etag":null,"topics":["graphql","hacktoberfest","nodejs","opencollective","postgres"],"latest_commit_sha":null,"homepage":"https://api.opencollective.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opencollective.png","metadata":{"funding":{"open_collective":"opencollective"},"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-05-19T05:40:22.000Z","updated_at":"2024-10-28T08:40:49.000Z","dependencies_parsed_at":"2024-01-29T08:35:36.604Z","dependency_job_id":"2ee1111f-e448-4a5d-aeac-cf51a2997e27","html_url":"https://github.com/opencollective/opencollective-api","commit_stats":{"total_commits":13301,"total_committers":110,"mean_commits":"120.91818181818182","dds":0.8572287797909932,"last_synced_commit":"c888cf0b6555aaae11d2cd00311eda1df3da0be8"},"previous_names":[],"tags_count":228,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencollective%2Fopencollective-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencollective%2Fopencollective-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencollective%2Fopencollective-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencollective%2Fopencollective-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opencollective","download_url":"https://codeload.github.com/opencollective/opencollective-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246679069,"owners_count":20816402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["graphql","hacktoberfest","nodejs","opencollective","postgres"],"created_at":"2024-08-01T12:02:29.208Z","updated_at":"2025-04-03T05:31:11.781Z","avatar_url":"https://github.com/opencollective.png","language":"TypeScript","funding_links":["https://opencollective.com/opencollective","https://discord.opencollective.com"],"categories":["JavaScript","TypeScript","graphql"],"sub_categories":[],"readme":"# Open Collective API\n\n![CI](https://github.com/opencollective/opencollective-api/workflows/CI/badge.svg)\n![E2E](https://github.com/opencollective/opencollective-api/workflows/E2E/badge.svg)\n[![Discord](https://discordapp.com/api/guilds/1241017531318276158/widget.png)](https://discord.opencollective.com)\n\n## Foreword\n\nIf 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!\n\n## Development\n\n### Prerequisite\n\n1. Make sure you have Node.js version 20.x and NPM version 10.x.\n\n- We recommend using [nvm](https://github.com/creationix/nvm): `nvm install \u0026\u0026 nvm use`.\n\n2. Make sure you have a PostgreSQL database available\n\n- Check the version: 11.0, 10.3, 9.6.8, 9.5.12, 9.4.17, 9.3.22 or newer\n- More info in our [PostgreSQL Database](docs/postgres.md) documentation\n\n3. For [node-gyp](https://github.com/nodejs/node-gyp), make sure you have Python 2 available and configured as the active version.\n\n- You can use [pyenv](https://github.com/pyenv/pyenv) to manage Python versions.\n\n### Install\n\nWe recommend cloning the repository in a folder dedicated to `opencollective` projects.\n\n```\ngit clone git@github.com:opencollective/opencollective-api.git opencollective/api\ncd opencollective/api\nnpm install\n```\n\n### Start\n\n```\nnpm run dev\n```\n\n- API is started on http://localhost:3060\n- A local email inbox is started on http://localhost:1080\n\nSee the [dev docs](docs/dev.md) for querying basics.\n\n#### Troubleshooting\n\n- If you're running into `node-gyp` issues related to Python 3 vs Python 2, you can run: `npm rebuild`\n- If you have issues with PostgreSQL, check our [dedicated documentation](docs/postgres.md)\n\n## Deployment\n\n**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.\n\nSee: [docs/deployment.md](docs/deployment.md)\n\n## More documentation:\n\n- [PostgreSQL Database](docs/postgres.md)\n- [List of supported environment variables](docs/environment_variables.md)\n- [Developing with Emails](docs/emails.md)\n- [Data Exports](docs/data_exports.md)\n\n## Discussion\n\nIf you have any questions, ping us on [Discord](https://discord.opencollective.com) or Twitter\n([@opencollect](https://twitter.com/opencollect)).\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencollective%2Fopencollective-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopencollective%2Fopencollective-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencollective%2Fopencollective-api/lists"}