PDT / 2025
Full-Stack Dev
PALDEN DORJE TITUNG
Portfolio
000
Palden Dorje Titung
PALDENDorje Titung

2026-04-216 min read

What I Learned Building a Full-Stack E-Commerce App (MERN)

What I Learned Building a Full-Stack E-Commerce App (MERN)

Lessons from building ShopNest — covering architecture, authentication, and real-world backend challenges.

Building ShopNest was my first real attempt at creating a production-level full-stack application. One of the biggest lessons was structuring the backend properly. Instead of writing everything in one place, I followed a layered architecture: Routes → Controllers → Services → Models. Authentication was another major challenge. Implementing JWT securely, handling protected routes, and managing user roles (admin vs user) helped me understand real-world backend logic. I also realized that building features like cart, checkout, and admin dashboards is not just about coding — it's about thinking in systems. This project changed how I approach development. I now think in terms of scalability and structure, not just features.
#mern#backend#architecture