Liina Tuttar

Liina Tuttar

Clinic.js: Profiling Your Node.js Application

Performance issues in Node.js apps can suck—especially when you’re trying to pinpoint exactly what’s slowing you down. Clinic.js cuts through the BS and shows you exactly what’s going on under the hood. In this post, we’ll break down what Clinic.js…

KISS – keep it simple, stupid

✅ Write small, focused functions – each should do one thing well.✅ Avoid unnecessary abstractions – don’t create layers of factories, patterns, or inheritance just to look clever.✅ Use simple data structures first – only reach for complex ones when…

Wake Up at 4 AM – show up for yourself

What if the key to clarity, momentum, and deep fulfillment lies in what you do before the world wakes up? According to leadership expert Simon Sinek, rising at 4 AM isn’t just a productivity hack – it’s a lifestyle shift…

Node.js – callback-based functions into promise-based functions

In Node.js, the util.promisify() function is a powerful tool that allows you to convert callback-based functions into promise-based functions. This conversion enables you to use promise chaining and async/await with APIs that originally relied on callbacks. Let’s dive into how it works: Callback-Based Functions: Using util.promisify(): How Does util.promisify() Work?: Important Considerations:…

Authentication flow

You should consider whether you want to integrate sign-in and sign-up features with the user service or create a separate Auth service. It is advisable to integrate it into the User service when project is small and have a separate…

Free Services to Deploy Your Code

Whether you’re a seasoned developer or just starting out, these free deployment services offer the perfect solution to showcase your work to the world. From hosting static websites to deploying full-stack applications, there’s something for everyone! 1️⃣ GitHub Pages: Host…

Microservices

What is microservice? A microservice is a software development technique that structures an application as a collection of small, loosely coupled services. Each microservice is designed to perform a specific function and can be developed, deployed, and scaled independently. Microservices…