This simple project archives images and information from NASA's Astronomy Photo of the Day for easy navigation. With full CRUD functionality, users can read, add, edit, and delete information from pre-existing or newly created entries that stick to the familiar format of NASA's API. This NASA webpage is one of the most trafficked sites across all federal agencies and has been active everyday since 1995.
- JavaScript
- Node
- Node-Fetch
- Mongoose
- MongoDB
- Express
- FileSystem
- NASA's publicly available APOD API
Read all entries
Read an entry
Create an entry
Edit an entry
Delete an entry
To set up the app locally:
-
Fork and clone the project repository
-
Install all dependencies locally
npm i express mongoose node-fetch fs
-
Ensure you have mongoDB installed
mongosh
-
NASA's List of API's Scroll to find 'APOD', the API that seeded this project.
This project could be expanded to include the entire NASA archive of daily astronomy images simply by altering the fetch URL to include the full date range. For demonstration purposes, I wanted to keep the seed data lean.
A keyword search function would also make this database far more useful to compare images and information from similar cosmic objects.