مطالب پایه‌ای Nodejs که در این هفته یاد گرفتم:

– با ماژول http تونستم یک سرور بسازم
– با ماژول path مسیر فایل‌ها و دایرکتوری‌ها رو مدیریت کنم
– با ماژول fs عملیات‌هایی مثل خواندن، نوشتن، ویرایش و حذف فایل‌ها رو انجام بدم

با Expressjs هم کار کردم و متوجه شدم که ساختن API و مدیریت request ها با Express راحت‌تر از Node هست.

قابلیت دیگه‌ی Expressjs اینه که با استفاده از middleware ها میشه یکسری عملیات رو قبل از اینکه request به api برسه، انجام داد.

تا اینجا یادگیری بک‌اند خوب پیش رفته.

ممکنه جلوتر با مفاهیم سخت‌تری روبرو بشم که نیاز به مطالعه و تمرین بیشتری داشته باشن.


ترجمه:

Nodejs basic material I learned this week:

– I was able to build a server with the http module
– Manage files and directors with the PATH module
– I do operations such as reading, writing, editing and deleting files with the FS module

I also worked with Expressjs and found that making APIs and managing Requests with Express was easier than Node.

Another feature of ExpressJS is that using Middlewares can be performed before the Request reaches the API.

So far, learning to back is good.

I may encounter harder concepts that require more study and practice.