After weeks of building, debugging, and learning, I finally completed my E-commerce Backend API
From authentication to payments and order management this project helped me understand how real-world backend system are designed.
Lessons learned ๐
From this project I learned how to manage a more complex database structure.
I gained a better understanding of designing relationships between different entities, organizing data properly, and creating a database structure that makes application easier to maintain and scale.
After weeks of building, debugging, and learning, I finally completed my E-commerce Backend API
From authentication to payments and order management this project helped me understand how real-world backend system are designed.
Lessons learned ๐
After weeks of building, debugging, and learning, I finally completed my E-commerce Backend API
From authentication to payments and order management this project helped me understand how real-world backend system are designed.
Lessons learned ๐
In essence, this was an exciting project filled with curiosity, frustration, problem solving and a lots of lessons learned.
I tried new packages in this project
This is just the beginning. More projects and more growth are coming
For the User endpoints, I implemented profile retrieval, updates, and account deletion.
Users can only access and update their own profile. Email updates are validated to ensure uniqueness. For account deletion, I removed all associated user data, deleted the account
#Backend
For authentication, I validated every request, implemented user registration with unique emails, hashed passwords, and currency selection. I generated access & refresh tokens, verified passwords on login, handled logout by clearing cookies and removing refresh tokens
#Backend
For authentication, I validated every request, implemented user registration with unique emails, hashed passwords, and currency selection. I generated access & refresh tokens, verified passwords on login, handled logout by clearing cookies and removing refresh tokens
#Backend
In June, I built an Expense Tracker API and learned a lot.
It was my first time implementing pagination, Zod validation, entity relationships, and using packages like `cors` and `morgan`.
I'll be sharing some of the endpoints I built here on X.