/nestjs-mailer-handlebars

Demo project with nestjs, nest-modules/mailer and handlebars

Primary LanguageHandlebarsBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Nestjs Mailer Handlebars

Description

Project which integrates nestjs.com, nest-modules/mailer/ and handlebars

Running the app

This project is build with Docker and docker compose, and to run the app execute the following command.

docker compose up

# or

docker compose up -d

After that open the OpenAPI url: http://localhost:3000/api

openapi

where you can see the api which this project contains.

If you open in parallell also the url for checking emails: http://localhost:1080, you will see empty list:

empty-email

To do a test, go again to OpenAPI and try the endpoint, immediately you will see email in the maildev, formatted as below:

email

Test

# unit tests
npm run test

License

Nest is BSD 3-Clause License.