A React application that displays NASA's Astronomy Picture of the Day (APOD) with detailed information. Built with React and Vite, using NASA's APOD API.
- Daily NASA astronomical images
- Detailed image information
- Responsive design
- Local storage caching
- Interactive sidebar
- Loading states and error handling
- React 18.3.1
- Vite 5.4.1
- NASA APOD API
- CSS3 with modern features
- Font Awesome icons
src/
├── components/
│ ├── Footer.jsx
│ ├── Main.jsx
│ └── SideBar.jsx
├── App.jsx
├── main.jsx
└── index.css
- Node.js (v14+)
- npm or yarn
- NASA API Key from NASA API Portal
- Clone the repository:
git clone https://github.com/6Glow/Space-Website.git
cd Space-Website
- Install dependencies:
npm install
- Create
.env
file and add NASA API key:
VITE_NASA_API_KEY=your_api_key_here
- Start development server:
npm run dev
- Fork the repository
- Create feature branch (
git checkout -b feature/AmazingFeature
) - Commit changes (
git commit -m 'Add AmazingFeature'
) - Push to branch (
git push origin feature/AmazingFeature
) - Open Pull Request
This project is open source and available under the MIT License.