https://github.com/codebender828/node-graphql
Simple GraphQL data querying and mutation with Node.js & Express
https://github.com/codebender828/node-graphql
express graphql graphql-js json nodejs
Last synced: 8 months ago
JSON representation
Simple GraphQL data querying and mutation with Node.js & Express
- Host: GitHub
- URL: https://github.com/codebender828/node-graphql
- Owner: codebender828
- Created: 2019-02-06T05:25:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-06T07:50:56.000Z (almost 7 years ago)
- Last Synced: 2025-02-14T10:28:09.548Z (10 months ago)
- Topics: express, graphql, graphql-js, json, nodejs
- Language: JavaScript
- Size: 54.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🍇 Simple GraphQL data querying and mutation with Node.js & Express
> GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.
Check out GraphQL's official documentation [here](https://graphql.github.io/)!
### Getting Started:
My preference for package management is Yarn. Consequently my examples are also in yarn. But you can use NPM.
Install all Dependencies (Yarn or NPM).
- `yarn install` or `npm install`
Start Express Server.
- `yarn dev:server` or `npm run dev:server`
Start JSON server to serve dummy data. This can be replaced with a real API service and database.
- `yarn json:server` or `npm run json:server`
Open GraphiQL at `http://localhost:4000` in your browser to perform queries and mutations.
### Contributing
🥤 Feel free to fork this repo and open a pull request.
Find me on Twitter at: [@RiversJonas](https://twitter.com/RiversJonas)