A basic SPA for list People and their Planet details using SWAPI - The Star Wars API.
- Load People data
- Load People's Planet data
- Sorting with 3 state (original, asc, desc)
- Configurable People and Planet data displaying
- 3 way modal closing option (button, click outside, Esc key)
- Dark mode
- Mobile support
- Vue3
- SASS
- Webpack
npm install
npm run serve
npm run build
npm run lint
- caching the fetched data with sessionStorage or localStorage
- optimized way to get Planet names and show it instead of urls
- show the original sorting would be easier to handle if people would have an Id.
- the <table> can be replaced with <div>'s and css grid
- services can be refactored to be more generic
- using css vars
- enhance favicon in normal and dark mode
- add more Star Wars stuff 😉
Star Wars and all associated names are copyright Lucasfilm Ltd.
- BB-8: https://www.iconfinder.com/R.Fidel
- LightSabers: https://www.iconfinder.com/sensibleworld
MIT License © 2022 Gábor Németh