Not gonna lie, it’s been a tough week. It’s been an effort even to blog about it! Here it this week’s installment as promised though! Enjoy.
Last week we started learning React; now we would be using it for all of this week. I just hope that it will start making more sense to me as it’s been stressing me out so far.
This morning’s lecture was about fetching data from APIs. The idea of this is exciting to me as I have lots of ideas for fun apps I could make using random APIs. Right now though I just want to be able to make a simple React app and actually understand what the code is doing. Seems easier said than done.
So began a 2-day pair-programming sprint to make an app that would interact with one of a handful of APIs. I was happy I got paired with Sarah as I already felt like we would get on pretty well, so that took a bit of my initial stress away. We looked through all the APIs and decided to use the OpenWeather API to make an app that could tell you the current weather for any city in the world. It seemed like we both had our own stresses this week, but we did our best to get the main components for our app created. I think we’ll have time to finish it tomorrow, so i’m not going to worry about it tonight.
I don’t know why, but I feel like I didn’t get any sleep at all last night, which is leading to me feeling pretty rough. Today was mainly sponsored by caffeine.
We had a couple of lectures today about ways to style React apps, in particular we learned about Styled-Components and Material UI. These seem to be very popular tools, and I love design, so I hope to take some time to play around with them at some point.
By the end of today, we finished the main functionality of our app but we didn’t have time to work on any styling. We had to ask the tutors for help as we both got stuck at certain points. I didn’t mind too much that we didn’t style it as I really just needed to understand how to make it work. We managed to make an app that would display the current weather information for any city, so we achieved our goal. Maybe, as a practice project, I’ll finish it with styling at some point.
Today we were beginning a new project; a React app to track the progress of bootcamp students via an API containing all the student data. Again, I didn’t sleep very well last night and wasn’t feeling well, so I decided to work solo rather than pair-programming.
This morning’s lecture was based on the principles of adding routing to a single page application and how to manage states in several components…and some other things that I find particularly confusing. We also learnt about the Reach Router library.
Maybe it’s just because of lack of sleep and feeling unwell, but I felt like I just wasn’t grasping things as I should be. It didn’t help when I saw that some people had already figured out things that we hadn’t covered in the lectures yet. I’m having an impostor syndrome moment right now and my brain is trying to tell me I can’t do this. Sometimes I really wish we were doing this in person, not just remotely, as it’s really hard to sense how other people are getting on.
OK I did a bit more than just cry yesterday, but no matter how hard I worked, it just didn’t feel good enough.
Today I was determined to figure out how to do a POST and DELETE request via my app; which is what today’s lecture was about. I’d managed this slightly in backend, but I wasn’t sure how it was going to work now in frontend. In this context, the user could upload the details of a new student to the database, via a form on my app. They would also be able to delete any student from the database. With some help from the tutors, I managed to figure it out! Then I spent my last bit of time styling the app and making it look presentable. Overall, I was happy with it.
At the end of the day we had a bit of a show and tell session over Zoom. I showed the student tracker app that I’d been working on for the last three days…everyone else shared cool personal projects they’d been working on in their own time. I felt guilty then that I’ve not been working on more, but at the same time I’m feeling pretty burnt out. As Alice (in Wonderland) once said:
“I give myself very good advice, but I very seldom follow it”.
Yea, I know not to compare myself to other people, but I slipped a little bit today.
I’m feeling pretty burnt out after this week so I do intend to take a rest over the weekend and start next week with a fresh perspective…I won’t let it beat me!