Graphql server with Apollo and Postgres from https://www.robinwieruch.de/graphql-apollo-server-tutorial.
- [x] Built with TypeScript
- [ ] Commented
- [ ] Tested
- Ensure Postgres is set up locally and create a
.env
file with:
DATABASE=postgres DATABASE_USER=postgres DATABASE_PASSWORD=postgres SECRET=myjsonsecretkey
(replacing with your credentials)
- Install the Heroku CLI
heroku login
heroku git:clone -a apollo-graphql-postgres cd apollo-graphql-postgres
yarn deploy
after committing changes