Skip to content

spinloop/GraphQL-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL-Demo

clone repo

run npm install

run npm run seed to seed the db with dev records

install nodemon globally via npm install nodemon -g

start dev server via nodemon app

local GraphiQL: http://localhost:4000/graphql

sample query:

{
  books {
    name
    author {
      name
    }
  }
}

local client: http://localhost:3000/

Running Locally

cd into /server and run nodemon app cd into /client and run npm run start

Daily Development with Docker

  1. Install Docker
  • If you're using a mac you can download Docker here.
  1. Open the Docker app
  • make sure Docker is running.
  1. cd into root directory
  2. Run make build to build the Docker containers
  3. Run make start or just make to run the app locally.
  4. Visit http://localhost:3000/

About

GQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published