Youtube backend

On March 22, 2024, I started learning backend development. I watched the ‘Chai aur backend’ series by the respected Hitesh Chaudhary on his YouTube channel ‘Chai aur Code.’ He taught with clarity, explaining complex ideas thoroughly. I learned about structuring production-grade code and connecting to databases using Mongoose. The experience was enlightening. Models, which define the database structure for our projects, became clearer to me. I also understood how middlewares, like those for verifying users with JSON web tokens, are smoothly added to applications.

Middlewares are special functions that take req, res, and next as arguments, acting as crucial checkpoints. Learning about the backend's file handling with Multer and gaining insights into file uploads on cloud services like Cloudinary enhanced my skills. Yet, creating controllers proved to be the most engaging task. Controllers play a key role in defining logic for specific routes, becoming my main focus. With guidance from Hitesh, I navigated through tasks such as creating routes, middlewares, utilities, and controllers.

His assignment, excluding the user controller that he handled, was challenging yet rewarding. Despite facing obstacles in implementing logic, I managed to complete it successfully. The intricacies of MongoDB pipelines sometimes confused me, but with practice and seeking help from platforms like Discord, I improved my skills. Throughout this journey, resources like ChatGPT and Stack Overflow were incredibly helpful. Thanks to these resources, I now have a strong grasp of backend development, preparing me for various backend and full-stack projects ahead.