potter-svelte

Potter Svelte

An Interactive Harry Potter Database

All About Harry Potter

About

This is a side project I did to help me learn how to use the new SvelteKit framework to develop responsive web applications. I am still learning and am going to expand on this project more, and possibly eventually deploy it.

Tools

  • SvelteKit: A UI framework built on Svelte and Vite, allowing users to write neat components using their folder structure, along with simple HTML, CSS, and JavaScript.

  • Harry Potter API: The API that produces all characters, their attributes, and all the spells (to be added). The website for the API can be found here.

  • Skeleton: Controls most of the styles from this page. It is a package currently in beta that combines TailwindCSS and Svelte.

Try It

First, lets clone this repository.

git clone "https://github.com/mcclainclain/potter-svelte"

Then we need to install our packages with npm (node package manager).

npm install

This will install all the dependencies that this project needs. You can now edit all the Svelte files, and change them how you want.

To open a server in your browser to observe changes you make:

npm run dev -- --open

TODOs

  • add an about page
  • finish out full character pages
  • add spells
  • add search/filter functionality
  • implement more data from other Harry Potter APIs
  • add some more styling (drop shadows??)

Top categories

Loading Svelte Themes