Sample implementation of an express GraphQL API
-
Install dependencies
npm install
-
Run express server in developement mode
npm run dev
-
Visit Apollo explorer at http://localhost:3000/graphql
-
You can run tests with
npm run test
-
Regenerate types from GraphQL schema
npm run codegen