A modern web application built with Angular that displays 10 random NASA's Astronomy Picture of the Day collection. Responsive interface to explore stunning astronomical images along with their detailed explanations.
- View NASA's Astronomy Picture of the Day collection of 10 random images
- Responsive design that works on all devices
- UI with Tailwind CSS styling
- Detailed explanations for each astronomical image
- Angular 19
- TypeScript
- Tailwind CSS
- RxJS
- Node.js
Before you begin, ensure you have the following installed:
- Node.js (Latest LTS version recommended)
- npm (comes with Node.js)
- Angular CLI (
npm install -g @angular/cli)
- Clone the repository:
git clone https://github.com/nixoletas/angular-nasa-apod.git
cd angular-nasa-apod- Install dependencies:
npm installTo start the development server:
ng serveNavigate to http://localhost:4200/ in your browser. The application will automatically reload if you change any of the source files.
To build the project for production:
ng buildThe build artifacts will be stored in the dist/ directory.
To execute the unit tests:
ng testsrc/
├── app/
│ ├── pages/
│ │ └── home/ # Main page component
│ ├── services/ # API services
│ └── interface/ # TypeScript interfaces
├── assets/ # Static assets
└── environments/ # Environment configurations
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- NASA for providing the APOD API
- Angular team for the amazing framework
- Tailwind CSS for the utility-first CSS framework
