Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aleksanderpalamar/api_contact
https://github.com/aleksanderpalamar/api_contact
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aleksanderpalamar/api_contact
- Owner: aleksanderpalamar
- Created: 2023-10-12T00:34:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-12T00:36:06.000Z (over 1 year ago)
- Last Synced: 2024-05-01T19:49:13.268Z (10 months ago)
- Language: TypeScript
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API de envio de e-mails
### Descrição
This application is a simple API that collects data from a form contact and sends an email to the user.
### Tecnologias
- [NestJS](https://nestjs.com/)
- [Nodemailer](https://nodemailer.com/about/)
- [TypeScript](https://www.typescriptlang.org/)
- [cors](https://www.npmjs.com/package/cors)### Instalação
```bash
npm install
```### Execução
Create a `.env` file in the root of the project and add the following variables:
```bash
EMAIL_HOST=
USER_EMAIL=
USER_PASSWORD=
EMAIL_FROM=
EMAIL_TO=
PORT=
``````bash
npm run dev
```