/nestjs-rest-and-graphql-api

This is a little example of how to use nest.js creating a REST and GraphQL API using Type-GraphQL.

Primary LanguageTypeScript

Description

This is a little example of how to use nest.js creating a REST and GraphQL API using Type-GraphQL.

Tips

Generate new module:

  • nest g module MODULE_NAME
  • nest g controller CONTROLLER_NAME # This is for REST api
  • nest g service SERVICE_NAME
  • nest g resolver RESOLVER_NAME # This is for GraphQL api

Update all the packages:

yarn upgrade-interactive --latest