This projects shows the SpaceX launch records and allows filter the records based on Launch year, Launch status and Land status.
- This app is built using Angular 10 and is Server Side Rendered using Angular universal feature.
- Custom components used in the application:
- Dashbaord : Acts as a container for showing filter and launch records.
- Filter : Contains filters - Launch year, Launch success and Land success. On selecting any value, updates the URL accordingly.
- Launch Results : A container component that observes URL changes and triggers request to fetch right records.
- Flight : Displays the details for individual flight/mission.
- Cusomt Service used in the application:
- Launch Data Service : Contains a method
getLaunchData()
which takes a map of selected filter key-value pair and updates the API url, makes the GET call to fetch records.
- Launch Data Service : Contains a method
- Basic unit testcases are implemented for testing various application features.
The app is deployed on Heroku and can be accessed here: https://spacex-launch-records.herokuapp.com/launches