mosh98 / gottaCachtemAll

Click me

Home Page:https://ang-poke.herokuapp.com/login-page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pokemon Trainer

What is Pokemon Trainer?

  • A website where the user can browse pokemons, the pokemons' skills, and collect them.

What technologies were used?

  • The project was created using TypeScript, Angular, HTML, and TailwindCSS. Tailwind was deemed especially appropriate for this project as Angular separates each component into three separate files: TypeScript, HTML, and CSS. The use of TailwindCSS allows us to write inline CSS, which means we could remove a majority of the individual component CSS files altogether.

What challenges were faced?

  • The biggest challenge faced was using Angular. Neither of us were familiar with Angular previously to working with it in this project. However, over the duration of the project we got more and more used to the flow of working with Angular.

Feature breakdown

  • Login Page Simple page where the user can login or register by entering their username

    • Login: Logs in or registers the username input based on whether the username exists in the API already or not. Upon login the user object is fetched from the API, assuming the user already existed, and the user data is saved in localStorage. image
  • Catalogue page Page which displays some pokemons and allows the user to catch them, as well as showing more info regarding their abilities.

    • Catch: Allows for the user to catch a pokemon. Button is replaced with a pokeball if the pokemon is captured. image

    • Show info: Shows info regarding any given pokemon by fetching the info from the PokeAPI. image

    • Trainer page: Takes the user to the trainer page.

    • Logout: Deletes the user data from the localStorage and sends the user to the login page.

  • Trainer page Shows the pokemons that the user has captured and allows the user to release them.

    • Remove: Removes the pokemon in question from the localStorage, and the user's object in the API. image

About

Click me

https://ang-poke.herokuapp.com/login-page


Languages

Language:TypeScript 73.2%Language:HTML 19.0%Language:CSS 6.6%Language:JavaScript 1.2%