A small tool to search for StarWars characters, because: Why not? https://swc.k0r.in
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
||1 year ago|
|.vscode||1 year ago|
|public||1 year ago|
|src||1 year ago|
|.gitignore||1 year ago|
|LICENSE||1 year ago|
|README.md||1 year ago|
|index.html||1 year ago|
|package.json||1 year ago|
|tsconfig.json||1 year ago|
|tsconfig.node.json||1 year ago|
|vite.config.ts||1 year ago|
|yarn.lock||1 year ago|
Star Wars Character
A small tool to search for StarWars characters, because: Why not?
This web application is written in Typescript, using Vue 3 and Vite. It comes with a recommended IDE setup, that I personally don't use, but I add it for completeness and all the VSCode fans out there: VSCode + Volar
I make heavy use of
<script setup> blocks and Vue's composition API. To learn more, check out the script setup docs and the Composition API overview.
API data types are taken from https://github.com/amitmtrn/swapi-ts/blob/main/src/SWApi.ts but no other code. I intentionally avoided any external libraries.
The header font is Star Jedi: https://www.dafontfree.io/star-jedi-font-family/
- Network and API problems are not handled great and errors are not communicated to the user.
- Sorting by planet name while planets aren't fully loaded breaks the sorting function.
- No mobile optimization (should be usable though).
This web application is licensed under the permissive MIT license. See LICENSE.