graphql-gateway-apollo-express
graphql-gateway-apollo-express copied to clipboard
Creating high performance and secure GraphQL APIs with Node.js, Apollo server, GraphQL and TypeScript
GraphQL gateway boilerplate
Starter kit for building API gateway with GraphQL
Setup
You can run the code by installing dependencies with
npm i
and running development environment
npm run dev
GraphQL playground is then accesible at
Technologies
- Node.js
- Apollo server
- Official graphql-js schema builder
- Full TypeScript support
- Express.js
- Eslint, Nodemon, Dotenv, Eslint, Prettier, Jest
This is supporting code for the following articles on our blog
- Input Object Type as an Argument for GraphQL Mutations and Quries
- GraphQL quick tip: How to pass variables in GraphiQL
- GraphQL Scalars and their input and result coercion
- How to use GraphQL enum type and its best practices
- How to design GraphQL custom scalars
- How to use GraphQL aliases
- How to query your schema with GraphQL fragments
- GraphQL List - How to use arrays in GraphQL schema
Notes
- secrets folder should be encrypted using some vault solutions like Google KMS
- https/www redirects should be performed in reverse proxy
- this starter kit has minimal setup and is continously evolving