30 Days of Node.js ā€“ Day 15

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 […]

30 Days of Node.js ā€“ Day 14

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 […]

30 Days of Node.js ā€“ Day 12

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 […]

30 Days of Node.js ā€“ Day 10

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. References: https://nodejs.org/api/crypto.html https://nodejs.org/api/fs.html https://nodejs.org/api/buffer.html […]

30 Days of Node.js ā€“ Day 9

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. References: https://nodejs.org/api/crypto.html https://en.wikipedia.org/wiki/Cipher https://en.wikipedia.org/wiki/Elliptic-curve_cryptography https://en.wikipedia.org/wiki/Federal_Information_Processing_Standards https://en.wikipedia.org/wiki/HMAC https://en.wikipedia.org/wiki/Hash_function

30 Days of Node.js ā€“ Day 8

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 […]

30 Days of Node.js ā€“ Day 7

As mentioned in an earlier post, reinventing the wheel is rather unproductive. That’s why npm (Node Package Manager) is bundled with Node.js. In today’s lesson, I’ve learned how to install and update npm itself as well as latest packages, exact versions of packages or package versions within a semantic range. The code snippets are not […]