Date: November 27, 2018
Did I really miss a day yesterday? 😯 In fact, I did! I’m currently on Bali and it seems to me that the concept of time does not apply to this island. While having very intense conversations about life, I totally missed yesterday’s challenge. Nevertheless, I followed up where I left and in today’s challenge, I focused on streams. The code snippet can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2015%20-%20All%20about%20streams.
Date: November 25, 2018
Today I learned how to use Node.js in combination with Socket.IO. Within the lessons, I learned how to create two mini-applications. One application was to create quotes within an admin interface which then will be displayed in real time on another page. The second application was to dynamically change the background colour or paragraphs. Today’s code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2014%20-%20Intro%20to%20socket.io.
Date: November 24, 2018
Another day, another lesson. Today, I’ve learned how to create a signup form using Node.js, Express & MongoDB. The application uses one Node.js file and two HTML files. The code of today’s lesson can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2013%20-%20Sign%20Up%20form.
Date: November 23, 2018
How would applications look like if no data could be created, read, updated and deleted? That’s when Mongo DB comes into the game. Today’s lesson explained the concept of CRUD using Mongo DB. While I’m very familiar with the CRUD concept, I do have to admit that I was struggling in setting up Mongo DB initially. However, after the database was up and running, creating the code snippets was rather straightforward. Today’s code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2012%20-%20CRUD%20in%20MongoDB.
Date: November 22, 2018
Another day, another challenge. Today I’ve learned how to create a server as well as basic routing using the Node,js package Express. Today’s code snippet can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2011%20-%20Express%20Framework and requires Postman to fully test it.
Date: November 21, 2018
In 1981, shortly before I turned one year, the James Bond movie For your eyes only was released. Encryption and decryption was important back then and is probably even more important today. That’s why today’s lesson covered the topic Encryption & Decryption. As usual, the code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2010%20-%20Encryption%20%26%20Decryption.
Date: November 20, 2018
Today’s lesson was about hash functions and HMAC, which both are helpful to encrypt and decrypt data. I’ve learned about various encryption methods and how to use them. The code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2009%20-%20Hashing%20and%20HMAC.
Date: November 19, 2018
I cannot believe it, I’ve just published my first npm package. Today’s lesson was about how to publish npm module.
The biggest lesson I learned today is that publishing npm packages it very easy and straightforward. I’ve also learned that I should run extensive testing before publishing the npm package. As you can tell on the version number of my module, I haven’t quite followed that approach initially. Nevertheless, I’m happy that my first package is available for the npm community and today’s code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2008%20-%20Publishing%20package%20on%20NPM.
Date: November 18, 2018
Date: November 17, 2018
Arrays are important to store information. But how to add, edit, sort, filter and remove entries within arrays. Well, array methods have been the topic of today’s lesson of the 30-day Node.js challenge. The results of today’s lesson can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2006%20-%20Array%20methods.