Giter Site home page Giter Site logo

marketingiq / opencollective-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opencollective/opencollective-api

0.0 0.0 0.0 194.16 MB

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

Home Page: https://api.opencollective.com

License: MIT License

Shell 0.25% JavaScript 49.49% TypeScript 47.04% Handlebars 3.22% Procfile 0.01%

opencollective-api's Introduction

Open Collective API

CI E2E

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: nvm install && nvm use.
  1. 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 documentation
  1. For node-gyp, make sure you have Python 2 available and configured as the active version.
  • You can use pyenv to manage Python versions.

Install

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

git clone [email protected]:opencollective/opencollective-api.git opencollective/api
cd opencollective/api
npm install

Start

npm run dev

See the dev docs 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

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 Slack (https://slack.opencollective.com) or on Twitter (@opencollect).

License

MIT

opencollective-api's People

Contributors

znarf avatar betree avatar xdamman avatar dependabot-preview[bot] avatar renovate[bot] avatar kewitz avatar asood123 avatar greenkeeper[bot] avatar sedubois avatar marcogbarcellos avatar clarete avatar flickz avatar sudharakap avatar hipsterbrown avatar arnaudbenard avatar philmod avatar hdiniz avatar sbinlondon avatar renovate-bot avatar pietgeursen avatar eloyekunle avatar snitin315 avatar gustavlrsn avatar piamancini avatar eslamhiko avatar bolariin avatar forster-groux avatar alanna avatar dependabot[bot] avatar boneskull avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.