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.
 
 
 
 
koehr 9936b71049 fixes number sorting and typing 1 year ago
.vscode initial scaffolding 1 year ago
public initial scaffolding 1 year ago
src fixes number sorting and typing 1 year ago
.gitignore initial scaffolding 1 year ago
LICENSE Adds primitive table and Intl date/number formatting 1 year ago
README.md update readme and clean up 1 year ago
index.html initial scaffolding 1 year ago
package.json Adds primitive table and Intl date/number formatting 1 year ago
tsconfig.json adds api access 1 year ago
tsconfig.node.json initial scaffolding 1 year ago
vite.config.ts adds api access 1 year ago
yarn.lock Adds primitive table and Intl date/number formatting 1 year ago

README.md

Star Wars Character

A small tool to search for StarWars characters, because: Why not?

Overview

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.

Acknowlegments

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/

Known issues

  • 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).

License

This web application is licensed under the permissive MIT license. See LICENSE.