Skip to content

croquiscom/graphql-project-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL project sample for croquis.com projects

Need for Start

  1. docker
  2. docker-compose
  3. npm or yarn

How to start

  1. Start database servers: ./tools/db/start.sh
  2. install PM2 : npm install -g pm2 OR yarn global add pm2
  3. Start services: cd services/user && pm2 start tools/server.js
  4. Run playground: http://localhost:6400/graphql

Used frameworks/libraries

Sample queries

Create a user

mutation {
  createUser(input: {
    full_name: "Test User"
  }) {
    id
    full_name
  }
}

Get users list

{
  user_list(full_name_istartswith: "T") {
    item_list {
      id
      full_name
    }
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published