StarWars Application - RiyaMittal/Riya_App GitHub Wiki
Welcome to the StarWars App wiki!
This application is meeting the below requirements:
Application starts by loading index.html which provides below functionalities:
-
MUST load planets and movies from the JSON API provided by https://swapi.co/
I have provided the text field which takes Movie API and loads Movie and associated Planet details.
-
MUST support searching by planet by: Title
On index.html, I have provided a link(Search Planet By Movie Title). It fetches all movie-titles from the Movie API and provides functionality to list planets for the selected Movie title.
-
SHOULD list Movies/Planets showing:
- Title
- Image (if present)
- Add Button
Lists all the Movies/Planets for queried Movie API. ADD Button for the loaded Movies and Planets are provided to save them in the local store.
-
MUST allow saving of planets to a local store or service using the Add Button
-
MUST list SavedTitle showing Title/Image
Once the Add Button is clicked, the page is redirected to display the saved Movies/Planets.
Additional: Added an option to view the saved Movies/Planets data . Each page has been provided with the Index Page redirection.