AstroMetrics
- Dylan Shaffer — GitHub: DylanShaffer412
- Nicholas Vitellaro — GitHub: nvitellaro
- Tanner Wood — GitHub: RangerRico
- Lane Durst — GitHub: LaneDurst
- Aaron Coffman — GitHub: RiverDancingToad
AstroMetrics is a containerized full-stack application that:
- Loads NASA and Navy space-weather data into PostgreSQL
- Serves backend API endpoints using FastAPI
- Provides an interactive frontend using React/Vite
- Includes pgAdmin for database inspection and management
The application enables visualization of space weather events such as:
- Coronal Mass Ejections (CME)
- Solar Flares
- Near Earth Objects (NEO)
- Geomagnetic Storms
- Installation
- Setup
- Running the Application
- Usage
- License
- Windows: https://docs.docker.com/desktop/setup/install/windows-install/
- macOS: https://docs.docker.com/desktop/setup/install/mac-install/
- Linux: https://docs.docker.com/desktop/setup/install/linux/
git clone https://github.com/DylanShaffer412/NASA-Data-Viewer.git
cd NASA-Data-Viewer
NASA_API_KEY=your_key_here
POSTGRES_CONNECTION=postgresql://spaceweather:spaceweather@postgres:5432/spaceweather
DB_HOST=postgres
DB_PORT=5432
DB_NAME=spaceweather
DB_USER=spaceweather
DB_PASSWORD=spaceweather
PGADMIN_DEFAULT_EMAIL=admin@admin.com
PGADMIN_DEFAULT_PASSWORD=admin
Linux/macOS:
./scripts/linux_dev_ctl.sh start
Windows:
./scripts/win_dev_ctl.sh start
cd frontend
npm install
cd ..
python main.py
- Frontend: http://localhost:5173
- Backend API: http://localhost:8000
- pgAdmin: http://localhost:5050
pgAdmin Login:
admin@admin.com
admin
- Launch the application and open the frontend in your browser
- Navigate between pages such as:
- Main Dashboard
- Daily / Weekly Reports
- Solar Flares, CME, NEO, and Storms
- Use interactive panels to:
- View recent and notable events
- Trigger graphical visualizations (CME, flare, NEO)
- Explore the database using pgAdmin if needed
Linux/macOS:
./scripts/linux_dev_ctl.sh stop
Windows:
./scripts/win_dev_ctl.sh stop
This project is licensed under the MIT License.
See the LICENSE.txt file for details.
