You are browsing as a guest. Sign up (or log in) to start making projects!

πŸš€ NASA Space Lines

  • 1 Devlogs
  • 4 Total hours

NASA Space Lines is a space exploration application developed with Flutter and Dart. The project allows users to explore different space destinations, view information about planets and the International Space Station (ISS), access NASA's Astronomy Picture of the Day (APOD), and calculate how much they would weigh on different celestial bodies. The application was developed as a practical project to improve mobile and web application development skills, API integration, UI development, state management, and problem-solving with Flutter. The application allows the complete management of events, participants, locations, tickets and registrations, offering operations for creating, querying, updating and removing data through organized endpoints. The main purpose of the API is to provide a simple and efficient framework for controlling information related to the organization of events.

Ship #1 Pending review

πŸ›°οΈ NASA API Integration

The project uses NASA’s Astronomy Picture of the Day API.

API endpoint:

https://api.nasa.gov/

The API key is provided at runtime using Flutter’s –dart-define mechanism.

Example:

flutter run -d chrome –dart-define=NASA_API_KEY=YOUR_API_KEY
Important

Do not commit your NASA API key to GitHub.

The project intentionally reads the API key using:

const apiKey = String.fromEnvironment(β€˜NASA_API_KEY’);

This keeps the key outside the source code.

Note: because this project runs on Flutter Web, values passed with –dart-define can ultimately be exposed in the client application. For a production application, a backend/proxy and appropriate API restrictions should be considered.


πŸ› οΈTechnologies

Technology Purpose Flutter Application framework Dart Programming language Flutter Web Web application runtime Material Design UI components NASA APOD API Astronomy data and media HTTP API communication JSON API data format VS Code Development environment Git Version control GitHub Source code repository

πŸ“‚ Project Structure

Nasa_Space_Trip_App/
β”‚
β”œβ”€β”€ android/
β”œβ”€β”€ ios/
β”œβ”€β”€ linux/
β”œβ”€β”€ macos/
β”œβ”€β”€ web/
β”œβ”€β”€ windows/
β”‚
β”œβ”€β”€ assets/
β”‚   └── imagens/
β”‚       β”œβ”€β”€ background.jpg
β”‚       β”œβ”€β”€ iss.png
β”‚       β”œβ”€β”€ mars.png
β”‚       β”œβ”€β”€ moon.png
β”‚       β”œβ”€β”€ neptune.png
β”‚       β”œβ”€β”€ saturn.png
β”‚       └── sun.png
β”‚
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ screens/
β”‚   β”‚   β”œβ”€β”€ data/
β”‚   β”‚   β”‚   └── planets.dart
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ body_screen.dart
β”‚   β”‚   β”œβ”€β”€ home_screen.dart
β”‚   β”‚   └── planet_detail_screen.dart
β”‚   β”‚
β”‚   β”œβ”€β”€ services/
β”‚   β”‚   └── nasa_service.dart
β”‚   β”‚
β”‚   └── main.dart
β”‚
β”œβ”€β”€ test/
β”‚
β”œβ”€β”€ pubspec.yaml
β”œβ”€β”€ pubspec.lock
β”œβ”€β”€ analysis_options.yaml
└── README.md

🧭 Traceability / Setup Table

The table below provides a quick traceability guide for developers who want to run, understand, or troubleshoot the project.

Step Component Location Purpose Verification

  • 1 Flutter SDK Local environment Provides the development framework flutter –version
  • 2 Project dependencies pubspec.yaml Defines project packages flutter pub get
  • 3 Assets assets/imagens/ Stores application images Check image files exist
  • 4 Main entry point lib/main.dart Starts the application Run the project
  • 5 Home screen lib/screens/home_screen.dart Application landing screen Home screen appears
  • 6 Destination screen lib/screens/body_screen.dart Displays available destinations Destination list appears
  • 7 Planet data lib/screens/data/planets.dart Stores destination information Destination cards load
  • 8 Detail s
  • 1 devlog
  • 4h
Try project β†’ See source code β†’
Open comments for this post

4h 21m 43s logged

πŸš€ NASA Space Lines NASA Space Lines is a space exploration application developed with Flutter and Dart.The project allows users to explore different space destinations, view information about planets and the International Space Station (ISS), access NASA’s Astronomy Picture of the Day (APOD), and calculate how much they would weigh on different celestial bodies.The application was developed as a practical project to improve mobile and web application development skills, API integration, UI development, state management, and problem-solving with Flutter. Click here to see the repository , click here to view the page.

0
0
53

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…