PokeViser

Visit site

While playing Pokemon GO I got sick of searching for pokemon weaknesses one by one. Thus came my inspiration for PokeViser. In PokeViser users can search through 898 Pokemon and select six at a time to learn about. Users can easily search using the search bar and apply filters to hone in on the Pokemon they are looking for. Once a selection is made users can view sprite images, base stats, info text, typings, damage relations and relative heights of their selected Pokemon. For a surprise Pokemon parade click on the "About" page.

I built PokeViser with Vanilla JS to be a single-page web application. For the data I used PokeAPI and for the stat charts I used ChartJS. To help manage the project files I used NPM and Webpack.

The most significant challenge to building PokeViser was how to make the experience fast and seamless. There are 898 Pokemon and the PokeAPI only allows requests for one Pokemon at a time. This makes loading the data for users to view extremely slow. Originally I started by making fetch requests only for Pokemon that users selected and storing them on the frontend so that if the user selected the same Pokemon again the browser would not have to make that request. However, the requests were still noticeably slow and the images took especially long to load because the image had to wait for the fetch to the PokeAPI before making another request for the image. The solution I came upon was to prefetch all the data I needed and store it in a JS file. Instead of a fetch being made to the PokeAPI server as the user selects Pokemon, all of the Pokemon are already loaded so the user gets the information they are looking for immediately.

  1. Update the UI for improved responsive design
  2. Language options
  3. Additional page to view evolution lines
  4. Update the UX to look more like a modern website
  5. Additional filter options
  6. Options for images like shiny sprites, rearview sprites, regional variants, and higher definition images by artists
See more projects

Email

samsongs1991@gmail.com

Phone

(425) 409-7725

Address

Dallas, TX
United States of America