Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudlena/graphql-jsonplaceholder
A GraphQL implementation of the JSONPlaceholder API
https://github.com/cloudlena/graphql-jsonplaceholder
express graphql typescript
Last synced: 14 days ago
JSON representation
A GraphQL implementation of the JSONPlaceholder API
- Host: GitHub
- URL: https://github.com/cloudlena/graphql-jsonplaceholder
- Owner: cloudlena
- License: other
- Created: 2017-08-20T16:05:22.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-02-10T22:45:34.000Z (9 months ago)
- Last Synced: 2024-02-10T23:30:26.453Z (9 months ago)
- Topics: express, graphql, typescript
- Language: TypeScript
- Size: 1010 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GraphQL JSONPlaceholder
[![Build Status](https://img.shields.io/travis/mastertinner/graphql-jsonplaceholder.svg?style=flat-square)](https://travis-ci.org/mastertinner/graphql-jsonplaceholder)
[![Docker Build](https://img.shields.io/docker/cloud/build/mastertinner/graphql-jsonplaceholder.svg?style=flat-square)](https://hub.docker.com/r/mastertinner/graphql-jsonplaceholder)A sample GraphQL implementation for the [JSONPlaceholder API](https://jsonplaceholder.typicode.com/).
## Run for local development
1. Run `npm install`
1. Run `npm run start:dev`## Compile and run in production
1. Run `npm install`
1. Run `npm run build`
1. Run `NODE_ENV=production npm start`## Build Docker image
The image is available on [Docker Hub](https://hub.docker.com/r/mastertinner/graphql-jsonplaceholder/)
1. Run `npm run build:docker`