[DAY 102-104] I took a backend course in freecodecamp

Hi everyone! Welcome back to another blog where I document the things I learned in web development. I do this because it helps retain the information and concepts as it is some sort of an active recall.

On days 102-104, I started the backend course in freecodecamp and learned the basics of using npm and Node.js with Express.

First, I learned about npm (Node Package Manager) and how to work with the package.json file. This file manages the project's metadata and dependencies.

I started by initializing a new package.json file using npm init, which set up the basics for my project. This allowed me to add and manage dependencies efficiently with commands like npm install <package_name>.

These dependencies are then listed in the package.json file, making it easy to share and collaborate on projects.

I also explored how to update and remove packages, ensuring my project stays up-to-date and clutter-free.

Next, I explored the basics of Node.js and Express. I learned how to create a server using Express, serve different files, and handle different requests from the browser.

This involved setting up routes to handle different endpoints and sending appropriate responses based on the requests.

I also implemented middleware to manage and preprocess incoming requests.

Understanding these concepts helped me in my journey to becoming a full-stack web developer. It gave me a deeper insight into backend development and how servers interact with clients, laying the foundation for more complex applications in the future.

Anyways, that’s all for now, more updates in my next blog! See you there!