Skip to content

An example codebase to easily get started with type-graphql

License

Notifications You must be signed in to change notification settings

muiz6/typegraphql-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published