Creating NodeJS project

beginner

In this post we are going to cover how to create a proper project with `npm init` and how...

Creating proper routes

beginner

We have a proper server but we are still not handling our routes properly. They are still a mess...

Creating a proper server

beginner

So now we have a working server that handles routes but it is not able to grow with more...

HTTP request methods | Events and streams

beginner

You now know how to use routes in order to serve different content based on different paths. But it...

Routes

beginner

We've created a server but how can we start returning different responses for different requests? For that we will...

Creating server

beginner

We are finally ready to start using NodeJS and create our webserver but before we do let's first go...

Handling errors

beginner

JavaScript errors can occur for various reasons, such as incorrect syntax, runtime issues, or unexpected data. When an error...

Improving our example (2)

beginner

In our previous post we have created an example with everything we learned so far. But our code has...

Example for everything so far (1)

beginner

There are a lot of new stuff in previous posts and some of it might seem a bit abstract...

Object-Oriented Programming(OOP)

beginner

Object-Oriented Programming (OOP) is a programming paradigm/style based on classes and objects. OOP allows you to create more organized,...