GraphQL project sample for croquis.com projects
- docker
- docker-compose
- npm or yarn
- Start database servers:
./tools/db/start.sh
- install PM2 :
npm install -g pm2 OR yarn global add pm2
- Start services:
cd services/user && pm2 start tools/server.js
- Run playground: http://localhost:6400/graphql
mutation {
createUser(input: {
full_name: "Test User"
}) {
id
full_name
}
}
{
user_list(full_name_istartswith: "T") {
item_list {
id
full_name
}
}
}