Tag: turborepo
-
Day#15 Account Registration, Subscription Plans, Email Verification & i18n
Today I focused on finalizing account registration RESTful webservice, subscription logic, implementing account verification, and introducing language support. It was a day of careful structuring, breaking cyclic dependencies, and refining developer UX. Here’s what got done: Subscription Models Enums Seed Data User Registration Email Verification i18n Support Email Delivery Translation File Structure „`/apps/partner/api/i18n/pl/auth.json/en/auth.json„` `.env` Configuration…
-
Day#14 Register Form with Validation in Next.js and React Hook Form
In this post, I will walk you through the process of building a registration form using Next.js and React Hook Form, complete with validation and dynamic language switching using i18next.
-
Day#13 Scoped Access Done Right (12 modules, 80+ tests)
Today I finalized tenant-aware access across all core modules using a shared ScopedRepository abstraction. This was the largest refactoring effort so far: 12 modules, 80+ unit tests, and one generic strategy to guarantee data isolation via subscriber_id.
-
Day#12 Password Reset Flow with JWT in a NestJS Backend
Today I implemented a complete password reset mechanism in a NestJS backend API. It consists of two public endpoints and uses a stateless approach based on JWT for token management.
-
Day#10 Migrations vs Developer: A story of friction
Today was supposed to be a calm day. I just wanted to add a single value to a lookup table using a TypeORM migration. Two hours later, I had a fully working script to track migration status, a clearer understanding of TypeORM’s friction points, and a renewed appreciation for tools that just work.
-
Day#7: 24 Test Suites, 153 Tests Passing — Scaling Confidence with Every Assertion
After several days of shaping a growing service architecture, I’ve finally reached a point where 24 test suites and 153 individual tests are green. This isn’t just a number — it’s a signal that the foundations are holding as complexity grows.
-
Day#6: Building a Flexible Group Structure with NestJS and TypeORM
I introduced a generic group model into the backend to handle dynamic user-to-organization assignments and relationships. Users can now belong to multiple groups with typed roles, and groups themselves can be structured hierarchically.
-
Day#5: Continuation: Securing Routes with JWT and Role-Based Access Control
Continuing development on the backend platform — this time focusing on securing routes with JWT, implementing @Roles decorators, handling role propagation from the database, and creating a custom @Public annotation for open endpoints.
-
Day#3: Behind the Scenes: Challenges in Building a Modular, Scalable Platform
Over the past few days, I’ve been developing a backend system from scratch that’s designed to scale with a complex, multi-tenant structure. While the exact business context remains confidential, the technical journey offers plenty of insight. This post summarizes key challenges I encountered and the approaches I used to solve them — especially around structure,…
-
Day#2: Designing a Reliable Backend: Lessons from Early Infrastructure Work
Building new software from scratch means making foundational decisions early — decisions that shape how maintainable, scalable, and consistent the system will be. In this post, I’ll walk through two technical areas that caused friction in my early backend work — and how I resolved them.
