kodehomie / learn-fast-java-web-app

"Learn Fast" is a java web application for mentors and mentees that need social connection and learning management solutions.
Other
0 stars 0 forks source link

Week 8 ready for review #5

Open kodehomie opened 2 years ago

kodehomie commented 2 years ago

@pawaitemadisoncollege week 8 is complete

What were your key learning points/takeaways?

What challenged you?

What problems did you solve and what resources did you use to solve them?

kodehomie commented 2 years ago

javamail-Screenshot 2022-03-12 232218

kodehomie commented 2 years ago

JavaMail-API-Test

pawaitemadisoncollege commented 2 years ago

Hi @mybffjustin - congratulations on getting the javamail api implemented in your application! Having email capability in your project takes this to the next level!

For the week 8 exercise, the goal was to consume a RESTful api and write unit tests to verify it's working properly (similar to Week 8 Activity 3). I don't think the JavaMail API is a RESTful api? http://paulawaite.com/education/java113/Module2/Week8/Exercise.html.

Also curious if you have unit tests for the javamail api? I was not sure if I was looking in the correct branch, as I didn't see any unit tests yet.

kodehomie commented 2 years ago

Thank you, @pawaitemadisoncollege I now included Programming Quotes Rest API from https://programming-quotes-api.herokuapp.com/index.html with unit tests. I made another solution for JavaMail with unit testing; I forgot to bring my old JavaMail files from my other branch before. ProgrammingQuotes-REST-API-Test .

pawaitemadisoncollege commented 2 years ago

Hey @mybffjustin! What a fun api you found!

Excellent attention to the detail and "doing it right" here: https://github.com/mybffjustin/learn-fast-java-web-app/blob/13ea93810ed10f25d0f3a62a2970ca54c44cedf6/src/main/java/org/justinhoang/persistence/ProQuoteDao.java#L32-L33. Often, developers hard-code values like the uri into programs, thinking we'll fix it later, and that rarely happens (or we end up scrambling to polish things late in the game). Kudos for getting it right early!

You've been working really hard this semester and it shows!