Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Week 14 - Classes FRQ #10

Open
13 tasks done
AD1616 opened this issue Nov 23, 2022 · 0 comments
Open
13 tasks done

Week 14 - Classes FRQ #10

AD1616 opened this issue Nov 23, 2022 · 0 comments

Comments

@AD1616
Copy link
Owner

AD1616 commented Nov 23, 2022

Testing

  • Test basic implementation of steptracker using postman

image

  • Tester and toString method

image

Fixing Bug With SetStats

  • Create an Array of HashMaps
  • Create a method to append to the array

image

  • Test adding multiple stats using Postman

image

  • Resulting JSON with multiple stats:

image

  • Better method: Use hashmap.put

image

  • Test this method with Postman

image

New method related to PBL

  • Car list functionality, sort of like a wish list

  • Additional property and method in Person.java, and change to constructor:

image

  • Additional controller method:

image

  • Testing Car List with Postman:

image

  • Resulting JSON response:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant