This project was made with the APOD API from NASA. Find NASA API's here: https://api.nasa.gov/
I made this project to practice with API data and to practice with POST so you can leave messages.
Everyday NASA chooses a picture to be the picture of the day. You can choose with the date picker which date you want to see the picture of. If you want to comment on a picture, you could do so in the comment section.
https://nasa-astronomy-picture-of-the-day.onrender.com/
I used the following things:
- Node.js
- EJS
- CSS
- JavaScript
- Express
- Nodemon
- Dotenv
- Gitignore
- express-xss-sanitizer (to prevent Cross Site Scripting (XSS) attack)
- HTML popover
NASA API:
API for POSTing messages:
Preventing double posts on forms:
To host my project:
Coolors helped me in finding some colors:
express-xss-sanitizer
I also asked chatGPT for help sometimes