JavaScript – Jamal J8 Ahmed https://j8ahmed.com Full Stack Developer Blog Sun, 11 Sep 2022 14:02:37 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.3 https://j8ahmed.com/wp-content/uploads/2023/06/logo_icon-150x150.png JavaScript – Jamal J8 Ahmed https://j8ahmed.com 32 32 Day 77: REST and Software Architecture??? https://j8ahmed.com/2022/09/11/day-77-rest-and-software-architecture/ Sun, 11 Sep 2022 14:02:34 +0000 https://j8ahmed.com/?p=1752 I split my time between two study tracks today. I continued reading through the “Technical Questions” section of the book, “Cracking the Coding Interview” (CTCI) by Gayle Laakmann McDowell. The other half of my time was used to read some of the material for the section of the “Full Stack JavaScript” development course from The Odin Project. Things are getting a bit difficult with CTCI but I am...

Source

]]>
Day 75: Auth Section Done – Now What? https://j8ahmed.com/2022/09/09/day-75-auth-section-done-now-what/ Fri, 09 Sep 2022 04:38:16 +0000 https://j8ahmed.com/?p=1746 Finally finished working on the final project in the web security section of the course from The Odin Project. I built out the admin sign-up feature, the logout, and the delete messages for admins features. Feels great to finally make some tangible progress. I was working pretty well today. Jumping around with Vim and making the appropriate changes. I learned a lot in this section. I still have a...

Source

]]>
Day 74: Variable Not Defined EJS – SOLVED https://j8ahmed.com/2022/09/07/day-74-variable-not-defined-ejs-solved/ Thu, 08 Sep 2022 03:58:31 +0000 https://j8ahmed.com/?p=1739 Continued working on the final project in the web security section of the course from The Odin Project. I was building out the Membership code feature. This feature allows a registered user to enter a secret code to gain access as a “member” on the application. There was nothing too difficult about the task since I was able to reuse some code from the “Add Message” controller and apply it here.

Source

]]>
Day 73: Your Boy Is Getting Better at Backend https://j8ahmed.com/2022/09/06/day-73-your-boy-is-getting-better-at-backend/ Wed, 07 Sep 2022 03:55:48 +0000 https://j8ahmed.com/?p=1736 Continued working on the final project in the web security section of the course from The Odin Project. I worked on building out the post controller that handles the submission data from the “Add Message” form. I had to review and look at some of the other projects I have built to reference how I should sanitize the data. I found the package and decided to use that again.

Source

]]>
Day 72: Added the Add Message Form https://j8ahmed.com/2022/09/05/day-72-added-the-add-message-form/ Tue, 06 Sep 2022 00:31:51 +0000 https://j8ahmed.com/?p=1732 Back to working on the final project in the web security section of the course from The Odin Project. I worked on building out the “Add Message” form. I got the authorization errors working and the form layout working. I just need to test out adding messages now. It felt good to come back after looking into those packages that I am using. Now I just have to stay focused and finish this up so that...

Source

]]>
Day 71: Reverse Engineering Success AGAIN https://j8ahmed.com/2022/09/04/day-71-reverse-engineering-success-again/ Sun, 04 Sep 2022 06:31:16 +0000 https://j8ahmed.com/?p=1728 I finished reading through the code for the package. I now understand how it works under the hood and it feels great. Not so much because it was confusing but because this is my second reverse engineering endeavor and it went way faster and I was a lot more confident with my approach. I can now take my reverse engineering hat off and get back to finishing the final project in the web security...

Source

]]>
Day 70: Reverse Eng The http-errors Package https://j8ahmed.com/2022/09/03/day-70-reverse-eng-the-http-errors-package/ Sat, 03 Sep 2022 14:30:55 +0000 https://j8ahmed.com/?p=1724 Paused on the final project in the web security section of the course from The Odin Project. I Took some time to write notes on the package since I am using it for this project. I started by reviewing the notes that I had already written on the topic. Once I reviewed the notes I decided that this might be a good package to try and breakdown just like how I did with the package. I got out my...

Source

]]>
Day 69: EJS is Basically PHP for JavaScript? https://j8ahmed.com/2022/09/01/day-69-ejs-is-basically-php-for-javascript/ Fri, 02 Sep 2022 03:58:08 +0000 https://j8ahmed.com/?p=1720 Paused on the final project in the web security section of the course from The Odin Project. I Took some time to write notes on the package since I am using it for this project. I previously was using the library for building template views. I was not the biggest fan of the python-like indentation errors. It wasn’t bad I did not know how to change the automatic indentation settings in vim to...

Source

]]>
Day 68: Auth is Married to Error Handling https://j8ahmed.com/2022/09/01/day-68-auth-is-married-to-error-handling/ Thu, 01 Sep 2022 16:12:15 +0000 https://j8ahmed.com/?p=1717 Working on the final project in the web security section of the course from The Odin Project. I added a test user account with the app’s sign-up form. I was able to successfully login but then started wondering how I would handled failed attempts and authorization issues. I had not added a task for building out the error handling for the application. I also forgot to include the handling of errors.

Source

]]>
Day 66: Adding Authentication in A Project https://j8ahmed.com/2022/08/30/day-66-adding-authentication-in-a-project/ Tue, 30 Aug 2022 19:16:59 +0000 https://j8ahmed.com/?p=1709 Working on the final project in the web security section of the course from The Odin Project. I was adding in the authentication and caught a potential trap that I was able to avoid because I was very familiar with how the package works under the hood. The module exports and instance of the class. We then add authentication strategies to the instance of the class. In my file I add strategies but...

Source

]]>