A comprehensive React application that provides access to multiple NASA APIs with a beautiful, responsive interface.
- 🌌 APOD Gallery: Browse NASA's daily astronomy images and videos
- 🚀 NEO Tracker: Monitor Near-Earth Objects and asteroid data
- 🛰️ Mars Rover Photos: Explore images from Curiosity, Opportunity, and Spirit rovers
- 🌍 EPIC Earth Imagery: View stunning Earth images from the DSCOVR satellite
- 📅 Date Range Search: View APODs from specific dates or date ranges
- 📱 Responsive Design: Works seamlessly on desktop, tablet, and mobile
- 🔑 API Key Management: Easy setup with NASA API key
- 🎯 Interactive Navigation: Seamless switching between different NASA data sources
# Clone the repository
git clone https://github.com/adityabhatkar23/nasa.git
cd nasa
# Install dependencies
npm install
# or
yarn install# Start the development server
$ npm run dev
# or
yarn dev-
Visit https://api.nasa.gov/
-
Sign up for a free API key
- Enter your NASA API key in the app
- Start exploring APODs!
Open http://localhost:5173 in your browser to use NASA Dashboard.
- Today's APOD: Automatically loads the latest astronomy picture
- Specific Date: Choose any date to view that day's APOD
- Date Range: Select start and end dates to browse multiple APODs
- Pagination: Navigate through large collections with ease
- Asteroid Tracking: Monitor asteroids that approach Earth
- Detailed Information: View size, distance, velocity, and hazard data
- Date Filtering: Search for asteroids on specific dates
- Hazard Assessment: Identify potentially hazardous asteroids
- Multiple Rovers: Explore images from Curiosity, Opportunity, and Spirit
- Camera Selection: Choose from different rover cameras (FHAZ, RHAZ, MAST, etc.)
- Sol-based Search: Search by Martian day (sol)
- High-Resolution Images: View and download full-resolution rover photos
- Daily Earth Views: See Earth from the DSCOVR satellite
- Date Selection: Pick any date to view Earth imagery
- Image Navigation: Browse through multiple images per day with Previous/Next buttons
- Time Information: View exact capture times and image details
- React 18 - UI framework
- React Router - Navigation
- Tailwind CSS - Styling
- NASA APOD API - Data source
- Vite - Build tool
This project uses multiple NASA APIs:
- Endpoint:
https://api.nasa.gov/planetary/apod - Purpose: Astronomy Picture of the Day
- Authentication: API key required
- Rate Limit: 1000 requests per hour (free tier)
- Endpoint:
https://api.nasa.gov/neo/rest/v1/feed - Purpose: Near-Earth Object data
- Authentication: API key required
- Rate Limit: 1000 requests per hour (free tier)
- Endpoint:
https://api.nasa.gov/mars-photos/api/v1/rovers/{rover}/photos - Purpose: Mars rover imagery
- Authentication: API key required
- Rate Limit: 1000 requests per hour (free tier)
- Endpoint:
https://api.nasa.gov/EPIC/api/natural/date/{date} - Purpose: Earth imagery from DSCOVR satellite
- Authentication: API key required
- Rate Limit: 1000 requests per hour (free tier)
MIT License - feel free to use this project for your own purposes.
Built with ❤️ by Aditya using NASA's amazing API
