In this mini project, I did Node.js and the following packages:
- http
- generate-password
- nodemailer
- fs
In this project I;
- Created a file named hello-world.js
- Wrote a program to print "HELLO WORLD" to the console
- created a server using http.createServer()
- Wrote a program that runs on port 3030 and responds with '\n' when someone reaches http://localhost:3000
- Used file system to create a file named "welcome.txt" containing one line "Hello Node".
- Created a program that reads and console.log data from welcome.txt
- Created a file named "password-generator"
- Created a function that generates random passwords and console.log() that password.
- Created a file named email-sender
- Sent an email using nodemailer (smtp transport and app generated password)
- There is an image in the image folder