This repository contains the Apollos GraphQL API only.
Install tooling:
Install dependencies and initialize:
npm install
npm run setup
Start the API in dev mode:
npm run dev
We use Heroku by default because it's free and easy to get started. If you'd like to use another platform to host your API, you can skip this section.
brew install heroku/brew/heroku
heroku login
Create your app and upload to Heroku:
heroku create apollos-api
git push heroku master
NOTE: If you have a team you'd like to use on Heroku to manage billing, you can use the -t <teamname> flag in the create command above.
Open the GraphQL Playground on your API to test the deploy:
heroku open
To deploy automatically through the Github workflow, copy your Heroku API key and set a Github secret in your new repository called HEROKU_API_KEY.
To get started with different API integrations, check out our docs!