https://github.com/amalumian/ta-armageddon
Test Assignment (Квартирка)
https://github.com/amalumian/ta-armageddon
test-assignment
Last synced: 3 months ago
JSON representation
Test Assignment (Квартирка)
- Host: GitHub
- URL: https://github.com/amalumian/ta-armageddon
- Owner: amalumian
- Created: 2024-09-27T13:23:44.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-02T15:25:47.000Z (7 months ago)
- Last Synced: 2025-01-23T03:42:39.002Z (4 months ago)
- Topics: test-assignment
- Language: TypeScript
- Homepage: https://ta-armageddon.vercel.app/
- Size: 1.73 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ARMAGEDDON
Armageddon is an online service for monitoring and ordering the destruction of hazardous asteroids based on data from [NASA's NeoWs API](https://api.nasa.gov/). The application provides detailed information on asteroid flybys near Earth, with infinite scrolling, filtering options, and the ability to place orders for specific asteroids directly to a cart. Each asteroid has a dedicated page with comprehensive flyby details.
## Features
- Main List: Displays a list of asteroid flybys starting from the current date, with infinite scroll.
- Asteroid Information: For each asteroid, displays its name, size, hazard level, closest approach distance, and exact date of maximum proximity.
- Customizable Distance Units: Toggle to view distances in kilometers or lunar distances.
- Cart Functionality: Add specific asteroid flybys to a cart. The cart is visible on the main list page.
- Order Confirmation: After confirming an order, a success page shows all selected flybys.
- Asteroid Detail Page: Includes asteroid-specific information and all flyby events, displaying speed, closest approach time, distance to Earth, and orbital target.## Local Run
### Clone the repository
```bash
git clone https://github.com/amalumian/ta-armageddon.git
cd ta-armageddon```
### Install dependencies
```bash
npm install
```
### Add your NASA API key
Create a .env file in the project root and add your API key:
```bash
API_KEY=your_api_key_here
```
### Run the development server
```bash
npm run dev
```
## Tech Stack
- Next.js
- TypeScript
- CSS Modules## Screenshot
