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

https://github.com/nurettintopal/nodejs-graphql

GraphQL Server Boilerplate for Node.js
https://github.com/nurettintopal/nodejs-graphql

graphql graphql-apollo graphql-server graphql-server-boilerplate nodejs

Last synced: about 1 year ago
JSON representation

GraphQL Server Boilerplate for Node.js

Awesome Lists containing this project

README

          

Node.js GraphQL Server ![CI Pipeline](https://github.com/nurettintopal/nodejs-graphql-server/workflows/CI%20Pipeline/badge.svg) [![GitHub license](https://img.shields.io/github/license/nurettintopal/nodejs-graphql-server.svg)](https://github.com/nurettintopal/nodejs-graphql-server/blob/master/LICENSE)
==============================================
GraphQL Server Boilerplate for Node.js

![](https://imgur.com/lIi4YrZ.png)

## usage

install dependencies:
```sh
$ npm install
```

run:
```sh
$ npm run start
```

open a browser and go to:
```sh
http://localhost:4000/graphql
```

## tests

run:
```sh
$ npm run test
```

## build

run:
```sh
$ npm run build
```

## usage with docker-compose

build image:
```sh
$ docker build -t nodejs-graphql-server .
```

run container:
```sh
$ docker run -d -p 4000:4000 nodejs-graphql-server
```

open a browser and go to:
```sh
http://localhost:4000/graphql
```

## contributing
```note
cooming soon...
```

## license
nodejs-graphql-server is open-sourced software licensed under the [MIT license](LICENSE).