Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eddie4k-code/graphql-typescript-example

A Basic example of using Graphql with Typescript and Express-GraphQL
https://github.com/eddie4k-code/graphql-typescript-example

express-graphql graphql ts typescript typescript-graphql

Last synced: 14 days ago
JSON representation

A Basic example of using Graphql with Typescript and Express-GraphQL

Awesome Lists containing this project

README

        

# GraphQL-TypeScript-Example
A Basic example of using Graphql with Typescript and Express-GraphQL

Start


1. npm install


2. npm start

Queries


users - fetches all users
user(id:string) - fetches a specific user based on id

Mutations


createUser(name:string, email:string) - creates a user.