This is a little example of how to use nest.js creating a REST and GraphQL API using Type-GraphQL.
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