This project aims to create a sleek, minimalistic, Apple-themed website using HTML5, CSS, and ReactJS, leveraging NASA's APIs for astronomical data and more. The design focuses on simplicity and elegance, incorporating Apple emojis and design principles.
- Overview
- Features
- Getting Started
- Prerequisites
- Installation
- Usage
- Enhancements
- Troubleshooting
- Contributors
- License
This website showcases information from NASA's APIs, including the Astronomy Picture of the Day (APOD), Mars Rover Photos, and weather updates from space. The design philosophy is inspired by Apple’s aesthetics, focusing on a clean and intuitive user experience.
- Astronomy Picture of the Day (APOD): Displays NASA's daily featured image or video.
- Mars Rover Photos: Browse recent photos taken by NASA’s Mars rovers.
- Weather Updates: Provide space-related weather updates.
- Settings: A settings icon for user preferences.
- Responsive Design: Ensures the website looks great on all devices.
- Minimalistic Theme: Inspired by Apple’s design principles with a focus on simplicity and usability.
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
- Node.js and npm: Ensure you have Node.js and npm installed.
- NASA API Key: Register at NASA's API portal and get your API key.
-
Clone the repository:
git clone https://github.com/yourusername/nasa-themed-website.git cd nasa-themed-website
-
Install the dependencies:
npm install
-
Create a
.env
file in the root directory and add your NASA API key:REACT_APP_NASA_API_KEY=your_nasa_api_key
- Start the development server:
npm start
- Open your browser and go to
http://localhost:3000
to view the website.
- Weather Management for Space: Add a feature to display weather updates for planets and moons with data from NASA.
- Settings Icon: Add a settings icon in the top right corner that allows users to change preferences like themes and units (metric/imperial).
- Animations and Transitions: Use CSS animations to enhance user interactions and provide a smoother user experience.
- Error Handling: Improve error handling for API calls to display user-friendly messages in case of issues.
<div class="settings-icon">
<img src="./assets/images/settings.png" alt="Settings">
</div>
- Images Not Displaying: Ensure your NASA API key is valid and correctly set up in the
.env
file. Also, check for network issues or API rate limits. - Responsive Issues: Verify the CSS media queries to ensure the design adapts properly to various screen sizes.
- Syed Nabiel Hasaan M. - GitHub
- Email: msyednabiel@gmail.com
This project is licensed under the MIT License. See the LICENSE file for details.