https://github.com/condef5/graphql-js
https://github.com/condef5/graphql-js
graphql nodejs prisma
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/condef5/graphql-js
- Owner: condef5
- Created: 2018-09-26T05:05:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-26T05:11:09.000Z (over 7 years ago)
- Last Synced: 2025-08-04T22:40:06.157Z (10 months ago)
- Topics: graphql, nodejs, prisma
- Language: JavaScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hackernews-graphql-js
This repository contains the final project for the [**GraphQL.js tutorial**](https://www.howtographql.com/graphql-js/0-introduction/) on [How to GraphQL](https://www.howtographql.com/) using the last version of prisma(1.17).
## Usage
### 1. Clone repository & install dependencies
```sh
git clone https://github.com/condef5/graphql-js
cd graphql-js
yarn install # or `npm install`
docker-compose up -d
```
### 2. Deploy the Prisma database service
```sh
yarn prisma deploy
```
### 3. Start the server & open Playground
To interact with the API in a GraphQL Playground, all you need to do is execute the `dev` script defined in `package.json`:
```sh
yarn dev
```