Skip to content

after8/graphql-users-companies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql-users-companies

This project uses json-server as well as graphQL and express to play around with graphQL queries and mutations.

Dependencies

Node.js

How to use

Clone this repo

git clone https://github.com/after8/graphql-users-companies.git

Install packages

  1. npm install

Run json server

  1. npm run json:server

You can test the API by running

http://localhost:3000/companies

http://localhost:3000/users

Run express server

  1. npm run dev

GraphiQL

GraphiQL is an in-browser tool for writing, validating, and testing GraphQL queries.
http://localhost:4000/graphql