Day 36 CRUD Assessment
Day 36 is in the books! Today was a lot of fun. We’ve spent the last few days making our first CRUD app which was a Reddit clone. Today we had to rebuild the entire thing from scratch to test our knowledge. We also had to work solo today instead of in a group this time. In our daily standup meeting this morning our instructor laid out the MVP(minimum viable product) for the assessment. The MVP looked like this:
I started out by white boarding all of the steps which got my brain going in the right direction:
I then proceeded to follow the steps on the board and quickly realized that I missed some things, but the whiteboard got me going and I was able to fill in the gaps as I stepped through the process. To be honest I did a lot better than I thought I would. There were definitely a lot of things that I had to look up because I couldn’t remember the syntax, but I have a pretty good understanding of how everything works. I was able to hit the MVP and do most of the bonuses and I’m really happy with that.
More importantly though I was able to make a list of things that I need to review in more detail. I need to go back and review some of the KNEX configuration details. That gave me the most trouble this morning. I was able to figure it out by reading the KNEX docs, but I’d like to be able to do it without referencing anything. I also need to practice creating migration and seed files from scratch to get the hang of the syntax and methods that KNEX uses.
By the end of the day I had full CRUD working on users, posts, and comments and all of the tables were related to each other. I was rendering the data to the browser using EJS. I was also capturing the information for the requests using HTML forms on EJS pages. Today feels like a pretty significant milestone so I’m going to take the rest of the night off (except for this blog of course) to reflect back on all that I’ve learned so far. This program has been a rollercoaster, but it is definitely working and I’m really excited about the progress that I’m making. I’m feeling confident that I will be where I need to be at the end of this thing to actually get a job. That’s a really good thing because that’s kind of the whole point.
Tomorrow we are covering user authorization and authentication. I’m really excited to add that to my tool belt as well. I’m looking forward to being able to make a fully functioning CRUD app with user login functionality. We will also be talking about security because it’s obviously incredibly important to keep your users data safe. I’m eager to learn more about that as well. I’ll let you know how that goes tomorrow!
36 down 64 to go!