Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typegraphql-starter

An example codebase to easily get started with type-graphql.

GraphQL frameworks in NodeJS come in two flavours: Schema-first or code-first. In this example I've setup a Node.js/TypeScript project to work with code-first approach.

Why use code-first approach?

The code first approach helps keep your codebase DRY. You don't have to maintain the schema and data classes separately or work on keeping them in sync.

Libraries used

Can I use JavaScript?

TypeGraphQL uses the type-definitions to generate the GraphQL schema for you. So you cannot JavaScript with TypeGraphQL.

Bonus

Additionally the project structure can be used as a guideline by students to structure their projects properly.

About

An example codebase to easily get started with type-graphql

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages