This is a project done for the year 3 semester 2 Application Frameworks module. The project has incorporated APIs from NASA API storage and utilized them to depict the data in a user-friendly manner.
- React.js (v18 or higher)
- npm or yarn
- Tailwind
- Firebase
-
Clone this repository.
git clone https://github.com/sliitcsse/se3040-assignment02-JaninduMunasinghe.git
-
Navigate to the project directory.
cd assignment-02-JaninduMunasinghe
-
Install dependencies.
npm install
To run the application in development mode with nodemon:
npm run dev
To build the application for production
npm run build
NASA's Astronomy Picture of the Day API and Mars Rover Photos API are used to integrate the application.
To acces API details, please visit https://api.nasa.gov
This API is used in the application to display the daily astronomy picture selected by NASA. For more details on this API visit https://github.com/nasa/apod-api
This API is used in the application to retrieve images gathered by NASA's Curiosity, Opportunity, and Spirit rovers on Mars using selected cameras. Users can select the camera, and the images from that camera will be retrieved and displayed. For more details on this API visit https://api.nasa.gov/
Vitest is used to test the application and ensure the functions are running smoothly.
Unit tests and integration tests are written for this application.
npm run test
The application is deployed to web using vercel and the application can be accessed through
https://nasa-api-jet.vercel.app/