This is a simple app that allows users to view the NASA Astronomy Picture of the Day (APOD). Users can also generate a random APOD.
- Vite React
- fetch API
- How to make API requests with fetch API.
- UseEffect, UseState hooks.
- View APOD
- Generate random APOD
@dapoadedire
- Clone the project
- Copy code
git clone https://github.com/dapoadedire/nasa-apod-app
Go to the project directory
cd nasa-apod-app
npm install
Get API_KEY from api.nasa.gov and put it in a .env file foloowing the format in env.example
npm run dev
Open http://localhost:5173 to view the app in the browser.
This project is used by the following people:
- Me.
- My Comrades.