tassosant / pokemon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AngularJS: Pokemon

Team sumbission for Front End Assignment 3: Create Pokemon Trainer using Angular.

Summary

The aim of the assignment was to host our own api and then make a web app using Angular that utilizes said api.

What we used

We used Figma to create a basic draft of the component tree. We used Railway for hosting the API. On the coding side, we used VS Code. For styling we used Tailwind as per the videos provided.

Thoughts / What we learned

Working with Angular was fair bit more troublesome than REACT. Some more detailed thoughts from each of us bellow:

  • Tasos Antoniou:
    What I've learned:
  1. How http.get works. There is a different approach working with asynchronous functions and synchronous functions. The get method is async and has a unique way of handling the function and manipulate the data.
  2. To debug the response object when you get error and response status is 200!!
  3. How typescript declarations works!
  4. How to ignore null values etc.
  5. How to use services and what NgOnInit does
  6. Better understanding of session storage.
  7. How to use environment files
  8. Navigation with Angular
  9. When instantiation happens(without "new")
  10. The usage of models and when is the right time to create them with the proper names.
  11. How to connect componentName.component.html with componentName.component.ts
  • Bill Tsolis:
    Tasos once again did most of the legwork regarding functionality. On my part, Tailwind ended up being quite easy and pleasant to work with despite being initially confusing. Definitely faster and easier than pure css.

How to Run

Requirements

  • NPM

Instructions

  • Begin with downloading/cloning the repo.
  • Dowload the provided "environments" folder via Moodle and place it at ./src/environments
  • Use npm start on your terminal of choice(while still in root fodler)
  • Open http://localhost:4200 in your browser of choice

If you get any errors try running npm install in the root folder of the app before running npm start again.

Contributors

About


Languages

Language:TypeScript 51.3%Language:HTML 48.1%Language:CSS 0.3%Language:JavaScript 0.3%