Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 349 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 349 Bytes

serverless-graphql-starter

Install

git clone https://github.com/ysfmag/serverless-graphql-starter.git
cd serverless-graphql-starter
yarn 
yarn start

Test Graphql

curl -d '{"query":"{posts{id title} author(id: 1) { firstName lastName} }"}' -H "Content-Type: application/json" -X POST http://localhost:3000/graphql