Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pedro-donoso/loteria
- Owner: pedro-donoso
- Created: 2021-10-03T21:14:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-04T01:34:25.000Z (over 3 years ago)
- Last Synced: 2024-11-26T05:09:01.361Z (2 months ago)
- Topics: axios, backend, html, javascript, nodejs, nodemailer, uuid
- Language: JavaScript
- Homepage:
- Size: 436 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)