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

Read More

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

Read More

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

Read More

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

Read More

30 Days of Node.js – Day 9

Read More

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

Read More

30 Days of Node.js – Day 4

Day 4 of the 30 Days of Node.js challenge was about the console object and its different methods. Until now, I was only using console.log(…) to display data in the console. Today, I’ve learned that by using console.log(…), console.info(…), console.warn(…) and console.error(…) I can control how the error message will appear within the browser’s console. […]

Read More

30 Days of Node.js – Day 3

Today’s lesson was about regular expressions. I do have to admit that regular expressions are definitely one of my weaknesses. Every time I think “Yes, now I got it!” and run a test against my pattern, it fails. It’s definitely something I need to learn deeply in the future. But for now, I’m happy I […]

Read More

30 Days of Node.js – Day 2

Yesterday, I started the 30 Days of Node.js challenge. While yesterdays lesson was about servers and how to display various formats, such as strings, JSON files, HTML files, etc., today’s lesson was about the file system such as reading, writing and deleting files. Today’s code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2002%20-%20File%20System.

Read More