A simple page which features a grid of cards based on a sampling of the famous Star Wars Dev API
A brief video demo of the project is available here 🎥.
- A rudimentary API handler for URI paths and content formatter help pull different data, and prepare data for display. Descriptions are dynamic based on the selected content type isolating unique properties from the API response per API type
- Features a sidebar menu which lets you switch between the different API content types
- A page loader (and local state) tracks when the API is loading and displays a loading indicator and rough skeleton cards to help convey something is taking place
watchQueryis leveraged to dynamically update the cards based on the selected content type alongside aasyncDataquery to pull in the content- A rudimentary rating component and Vuex state against each unique API entry, using its name, to allow ratings to be set and temporarily stored in memory, reset on reload
- Buefy, Axios, Vuex, Typescript (for api.ts)