Skip to content

abhishekY495/asteroid-alert

Repository files navigation

Asteroid Alert

Look what Asteroids are going to make a close approach by Earth today.
Check out the site here - https://asteroidalert.netlify.app

site-image

👀 About

The app gets the data from NASA's NeoWs API and displays it in an easy-to-read format. It shows important information about each asteroid such as its size, speed, and miss-distance from Earth. It also compares the size of an asteroid to objects such as an Aeroplane or The Eiffel Tower to provide a perspective on how big an asteroid is.

⚠️ The data provided by NASA's API is the most recent and not real-time.

🛠️ Tech

Built using Vanilla JS and spacekit library to create the 3D interactive space visualizations.
Uses localStorage to store the data locally in your browser, so that it can be accessed faster, without the need to fetch from the API again. This improves the performance and reduces the number of requests made to the API.

💻 Install and run locally

> git clone https://github.com/abhishekY495/asteroid-alert.git
> cd asteroid-alert
> npm install
> npm run dev

Images provided by - Flaticon