Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pedro-donoso/loteria

Concurso que utiliza la API randomuser para sortear un premio entre usuarios random y les envía notificación a sus correos con nodemailer
https://github.com/pedro-donoso/loteria

axios backend html javascript nodejs nodemailer uuid

Last synced: 4 days ago
JSON representation

Concurso que utiliza la API randomuser para sortear un premio entre usuarios random y les envía notificación a sus correos con nodemailer

Awesome Lists containing this project

README

        

![resultado](https://user-images.githubusercontent.com/68760595/135781363-1f27535b-68b9-4253-b84e-9ac8435ca95e.png)

##Steps

1. Download code.zip

2. In case of CORS problems:

**Install extension Allow CORS in Chrome or similar**

![cors](https://user-images.githubusercontent.com/68760595/135777678-f2ea7ae8-c283-45f1-b1e7-baca591a6da5.png)

3. Installatios -> in terminal:

```
npm install axios nodemailer

```
4. Run -> in terminal:

```
node index.js

```
5. Results in gmail

**email by Nodemailer**

![ganador](https://user-images.githubusercontent.com/68760595/135781409-69b88450-436f-43b5-978b-6c9a5c341b0e.png)