Skip to content

A quick starter template for NestJS, RabbitMQ, and GraphQL lovers.

Notifications You must be signed in to change notification settings

wassimoo/nestjs-rabbitmq-graphql-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NestJS RabbitQ GraphQL Boilerplate

A quick starter template for NestJS, RabbitMQ, and GraphQL lovers with support for container native development.

Usage

Make sure to have Docker and nodeJS installed on your machine.

# Build the docker image
$ docker-compose build

# Start the container in detached mode
$ docker-compose up -d

API Testing

GraphQL endpoint: localhost:3000/graphql

{
 login
}

Should return

{
  "data": {
    "login": "Hello from login "
  }
}

REST endpoints: localhost:3000/

This endpoint will emit message to RMQ and have it consumed by mailer service. As a result you should see a mailer message:

mailer      | Hello from mailer!

About

A quick starter template for NestJS, RabbitMQ, and GraphQL lovers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published