Lambda Labs Logs: Week 2
Part 1 - Individual Accomplishments this Week
Whiteboard Interview: https://www.youtube.com/watch?v=LgtO6-iJtjM
Team Contribution Graph: https://github.com/Lambda-School-Labs/labs9-developer-profiles/graphs/contributors
Github Handle: mkerbleski
Front-End URL: https://ecstatic-dev-profiles.netlify.com/
Back_End URL: https://developer-profiles.herokuapp.com/
Summary
Last week we got most of the infrastructure set up so this week our group was able to divide and conquer a lot easier. We decided late last week to incorporate styled components into our project and I spent Tuesday working with JoCatherine on that transition. I also spent a good deal of time working on the Auth0 authentication schema with Alberto. We finally got it set up and interacting with out backend. Lastly the other major area that I worked in was the filter box for the public facing page. That involved restructuring the page a bit and separating out some new components to pass parameters from the filter component to the cards displayed.
Tasks Pulled
Total: 13 PRs, 10 frontend, 3 backend
Last Weekend
Last Weekend
- Transition to snake_case and backend clean up (backend)
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/58
- https://trello.com/c/oqmtdT8u/57-make-consistent-casing-throughout-backend
Monday
- Oauth3 / with Alberto (frontend)
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/65
- https://trello.com/c/93dJGRkZ/40-login-auth
Tuesday
- Set up database and auth to make API call to create user (backend and frontend)
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/75
- https://trello.com/c/Fb8nuPxu/69-connect-auth-with-db-creating-a-user
- Styled and restructured / JoCatherine (frontend)
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/74
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/70
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/68
- https://trello.com/c/yLFkQGU1/67-transition-to-styled-components
Wednesday
- Checkmarks (frontend)
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/96
- https://trello.com/c/6HCN7zH8/21-side-menu
- Warnings clean up and filter init (frontend)
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/90
- https://trello.com/c/6HCN7zH8/21-side-menu
- Nav and filter (frontend)
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/82
- https://trello.com/c/Fb8nuPxu/69-connect-auth-with-db-creating-a-user
- Auth0 logout fix /with Alberto (frontend and backend)
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/82
- https://trello.com/c/Fb8nuPxu/69-connect-auth-with-db-creating-a-user
Thursday
- Added .env variables to front (frontend)
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/101
- https://trello.com/c/7hJpBLDL/75-deploy-front-end
- Put keys in dotenv (frontend)
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/100
- https://trello.com/c/7hJpBLDL/75-deploy-front-end
- Changed navigation folder and some work on filters (frontend)
- https://github.com/Lambda-School-Labs/labs9-developer-profiles/pull/99
- https://trello.com/c/7hJpBLDL/75-deploy-front-end
- https://trello.com/c/6HCN7zH8/21-side-menu
Detailed Analysis
Auth0 was definitly the biggest challenge that I took on this last week and the most rewarding task to get solved. I was glad to work with Alberto on this task as we both benifited from tackling this challenge together.
There were a couple challenges within the implementation that took some figuring out. The easiest was getting a user authenticated with Auth0. Auth0 made this easy to do using there website.
The second challenge was connecting our database and creating a link to the user in Auth0. We decided to use email as our unique key. So if the users uses different ways of authentication (google vs email sign up) there is only 1 unique account on our database. Auth0 makes this easy by returning a user email to the call back page.
The third challenge was the redirects which including debugging with deployment took multiple days to complete. We needed to use enviornment variables to redirect the client as there would be different urls (that need to be registerd with Auth0) to both login and logout.
Overall it was a fun challenge to solve and I look forward to learning more about the Auth0 platform throughout this project and in the future.
Part 2 - Milestone Reflections
Working with a team to integrate several APIs and different servers was the only way to complete this task in a week. We connected to Auth0, our backend, acclaim, AWS for picture hosting, and stripe for payments. It was great working with a team because each of these integrations took 1 member a lot of time and getting a second pair of eyes on the problem was what moved the project forward. I created pages on tuesday and routed them in the nav bar which was a big help as our codebase continues to grow. The biggest challenge is keeping variables and flow consistent, when working with multiple data sets it is fun to see random data and not know anything about why it is there, eventualy it makes perfect sense. This was one of the reasons that I refactored the backend last week, so that everyone have a consistent way of storing and accessing information. Maybe it is just me but the sporatic casing and formatting that we had last week was making me go crazy. This week went much much smoother in that regard. Overall I like working as a team, and look forward to continueing that but it does come at the cost of getting a solid chunk of Deep Work or flow level of productive code written. The only part that I really struggle with is seeing something in a different section that I am working with and not being able to fix it because I know someone is working on it. But, if that is my biggest complaint I think we are doing really well as a team.
Check out our (in progress) deployment: https://ecstatic-dev-profiles.netlify.com/