Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.