Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rafael-vasconcellos/email-service
email sending app with nest js and nodemailer
https://github.com/rafael-vasconcellos/email-service
api jest nest-js nestjs nodemailer server-client server-side supertest
Last synced: 1 day ago
JSON representation
email sending app with nest js and nodemailer
- Host: GitHub
- URL: https://github.com/rafael-vasconcellos/email-service
- Owner: rafael-vasconcellos
- Created: 2024-03-15T16:57:41.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-24T20:08:32.000Z (5 months ago)
- Last Synced: 2024-10-12T18:21:25.361Z (about 1 month ago)
- Topics: api, jest, nest-js, nestjs, nodemailer, server-client, server-side, supertest
- Language: TypeScript
- Homepage:
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Application
make a **POST** request on *api/email* with the following body
```typescript
name?: string
email: string
subject: string
body: string
```#### Enviroment variables
*HOST, PORT, USER, PASS* (provider's credentials)## Installation
```bash
$ npm install
```## Running the app
```bash
# development
$ npm run start# watch mode
$ npm run start:dev# production mode
$ npm run start:prod
```## Test
```bash
# unit tests
$ npm run test# e2e tests
$ npm run test:e2e# test coverage
$ npm run test:cov
```