SpaceView App is a modern web application built with Angular that allows users to explore the wonders of the universe through NASA's APIs. It provides a beautiful interface to view the Astronomy Picture of the Day and search for various space-related images.
- Astronomy Picture of the Day (APOD): View a daily stunning image or video along with a professional description.
- Space Picture Library: Browse and search for a vast collection of space images from NASA's archive.
- Modern UI/UX: A clean, responsive design with a warm and inviting color scheme.
- Interactive Modals: Detailed views for images using
@ngneat/dialog. - Responsive Layout: Optimized for both desktop and mobile viewing.
- Framework: Angular v21
- Styling: CSS
- State Management & Logic: RxJS
- UI Components: Custom components with
@ngneat/dialogfor modals - Data Source: NASA Open APIs
- Formatting: Prettier
- Testing: Vitest
- Node.js (Latest LTS recommended)
- Angular CLI
- Clone the repository:
git clone https://github.com/thomascsd/space-view-app.git
- Navigate to the project directory:
cd space-view-app - Install dependencies:
npm install
-
Start the development server:
npm start
Navigate to
http://localhost:4200/in your browser. -
Build the project:
npm run build
-
Run tests:
npm run test:vitest
SpaceView App 是一個使用 Angular 打造的現代化網頁應用程式,讓使用者能透過 NASA API 探索宇宙的奧妙。它提供美觀的介面,用於查看「每日天文一圖」並搜尋各種與太空相關的影像。
- 每日天文一圖 (APOD): 查看每日更新的震撼影像或影片,並附帶專業的科學描述。
- 太空影像庫: 瀏覽並搜尋 NASA 資料庫中龐大的太空影像收藏。
- 現代化介面設計: 乾淨、響應式且色調溫暖宜人的視覺設計。
- 互動式視窗: 使用
@ngneat/dialog提供詳盡的影像資訊彈窗。 - 響應式佈局: 針對桌面端與行動裝置進行優化。
- 框架: Angular v21
- 樣式: CSS
- 狀態管理與邏輯: RxJS
- UI 組件: 自定義組件,並使用
@ngneat/dialog處理彈窗 - 數據來源: NASA Open APIs
- 程式碼格式化: Prettier
- 測試: Vitest
- Node.js (建議使用最新 LTS 版本)
- Angular CLI
- 複製儲存庫:
git clone https://github.com/thomascsd/space-view-app.git
- 進入專案目錄:
cd space-view-app - 安裝依賴項目:
npm install
-
啟動開發伺服器:
npm start
在瀏覽器中造訪
http://localhost:4200/。 -
專案打包:
npm run build
-
執行測試:
npm run test:vitest