CodepediaOrg / graphql-express-crud-demo

Complete CRUD API written with graphql-express

Repository from Github https://github.comCodepediaOrg/graphql-express-crud-demoRepository from Github https://github.comCodepediaOrg/graphql-express-crud-demo

Installation

Prerequisites

What you need to run this app:

  • node and npm (we recommend using NVM)
    • Ensure you're running Node at least (v10.x.x+) and NPM (6.x.x+)
  • nodemon - npm install -g nodemon
  • Docker - we recommend using Docker Desktop

Install dependencies

npm install 

Start the project

npm start

which runs nodemon --inspect=localhost:9230 src/server.js in background.

To debug connect to the port 9230 mentioned above

Development

You can input your GraphQL queries with GraphiQL by accessing the http://localhost:4000/graphql in your favorite browser

Example client queries and mutations

You can find examples for GraphQL client queries in the query-examples.md file and mutations in the mutation-examples.md files

About

Complete CRUD API written with graphql-express


Languages

Language:JavaScript 100.0%