"Why track asteroids? With space exploration booming, understanding near-Earth objects is more crucial than ever. This ReactJS web app leverages NASA's NeoWs API to provide real-time asteroid data, offering insightful statistics and trends through captivating, interactive charts. Whether you're a space enthusiast or a data geek, this app makes asteroid tracking both engaging and visually stunning
This project is a web application that allows users to view the statistics of Near Earth Objects (NEO) by fetching data from NASA’s NeoWs API. Users can input a date range and view the number of asteroids passing near Earth on each day within that range. The app also displays additional information such as the fastest asteroid, the closest asteroid, and the average size of the asteroids.
Date Selection: Users can choose a start and end date to fetch asteroid data. Asteroid Statistics: Displays the number of asteroids for each day within the date range. Fastest Asteroid: Shows the fastest asteroid in km/h. Closest Asteroid: Displays the closest asteroid during the date range. Average Asteroid Size: Provides the average size of the asteroids in kilometers. Chart Visualization: Uses Chart.js to display a line chart of asteroid statistics.
The application is deployed and can be accessed here: Live Demo
Note: To view the demo, please allow insecure content in your browser settings by following these steps:
- Go to Settings -> Privacy and Security -> Site Settings.
- Under Additional content settings, click on Insecure content.
- Add the URL to Allowed to show insecure content.
- Clone the repository:
git clone https://github.com/hb99960/NEO-Asteroids.git
- Install dependencies:
npm install
- Start the development server:
npm start
This project also includes a backend API that communicates with NASA’s NeoWs API.
You can also test the API endpoints using Postman. Download the Postman collection here: Postman Collection
The app is deployed on AWS EC2. Access it via the following URL: Deployed App
- Frontend: ReactJS, Twitter Bootstrap, Chart.js
- Backend: php
- API: NASA’s NeoWs API
- Deployment: AWS EC2