Asteroid Spy is a mobile application designed to visualize asteroids and comets using data from NASA's Near-Earth Object (NEO) API. Built with Expo React Native, it provides users with an interactive experience to explore celestial objects that pass close to Earth.
- Near-Earth Objects: Explore data on objects that approach or intersect Earth's orbit. Choose dates and really hone in on the asteroids you are interested in.
- Visualization: View detailed information and trajectories of asteroids and comets.
- Customization: Filter and search for specific asteroids based on criteria such as size, distance, and velocity.
- Notifications: Receive alerts for upcoming celestial events and potential hazards.
- More Data: A whole new detail section showing even more data about each individual NEO
- Dark Mode: Set the app to a dark theme to really feel like you're in space.
Follow these steps to run the Asteroid Spy app locally:
- Node.js installed on your machine
- Expo CLI installed globally (
npm install -g expo-cli
)
-
Clone the repository:
git clone https://github.com/yourusername/asteroid-spy.git
-
Navigate to the project directory:
cd asteroid-spy
-
Install dependencies:
yarn install
-
Duplicate
.env.local.default
and name the new file.env.local
cp .env.local.default .env.local
-
Start the development server:
npx expo start
-
Open the Expo Go app on your mobile device.
-
Scan the QR code displayed in the terminal using the Expo Go app.
-
The app should now be running on your device.
- iOS: When changing the date, the date will update when the date is chosen from the spinner instead of waiting for the user to click OK.
- ANDROID - When clicking to view live mode, the eyes on asteroids website will sometimes not load in Earth correctly
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.