Skip to content

mateusconstanzo/express-graphql-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express + GraphQL + TypeORM Example

Frameworks

  • Express
  • Express GraphQL
  • GraphQL
  • TypeORM

Setup

  • TypeScript
  • Mysql
  • Docker

UP

docker-compose up

http://localhost:3000/graphiql

Query

Save Author

mutation {
  saveAuthor(firstName:"Mateus", lastName: "Constanzo") {
    id,
    name,
    firstName,
    lastName,
  }
}

Get all Author

{
  authors {
    id,
    name,
    firstName,
    # lastName
  }
}

About

Express + GraphQL + TypeORM Example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published