Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heroku-examples/graphql-rent-api
GraphQL API in Node.js with Apollo Server, PostgreSQL and Heroku Connect.
https://github.com/heroku-examples/graphql-rent-api
Last synced: 2 days ago
JSON representation
GraphQL API in Node.js with Apollo Server, PostgreSQL and Heroku Connect.
- Host: GitHub
- URL: https://github.com/heroku-examples/graphql-rent-api
- Owner: heroku-examples
- License: mit
- Created: 2020-04-16T14:24:39.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T12:13:42.000Z (about 2 years ago)
- Last Synced: 2024-04-14T18:35:48.169Z (10 months ago)
- Language: JavaScript
- Size: 895 KB
- Stars: 6
- Watchers: 5
- Forks: 3
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GraphQL Node.js API Example
This is an example of a GraphQL API in Node.js with Apollo Server, PostgreSQL and Heroku Connect.
## Installation
``` sh
npm install
```## Configuration
Please set the following environment variables to run the application
* `DATABASE_URL` - PostgreSQL Connection String
## Setup Database
``` sh
npx sequelize db:migrate
npx sequelize db:seed:all
```## License
See [LICENSE](LICENSE) file.