- Express server
- GraphQL
- GraphQl tools
- eslint with airbnb's config
- winston logger
npm install
yarn install
Start the server
npm start
yarn start
The server will be running at http://localhost:4000/graphql/
Example query:
curl -X POST \
-H "Content-Type: application/json" \
-d '{"query": "{ posts { id } }"}' \
http://localhost:4000/graphql
Start the server
npm run dev
yarn run dev
GraphiQL will be running at http://localhost:4000/graphiql/