What I built?
I built the Switzerland of Ecommerce platform; PandeyMart, a fullstack single tenant ecommerce platform with tons of exciting features like; Clean & Minimalistic Design Approach, customizations for products, admin panel for managing orders, products, and users, as well as cart, favourite and orders page for managing products on client side, two-way communication between seller and buyer via notes, review system for trust, function of refund/cancel/reorder of products, payment integration for COD and Esewa, and address management.
What was my experience and challenges?
First and foremost, it was the first time ever of mine to build an ecommerce platform having all these features. And, secondly, it was my first ever project to use tanstack start fullstack framework. This framework caused so much errors and issues that at one point, i thought to quit tanstack start and use Next.js but i didn’t lose hope.
When i ran npx @tanstack/cli create, and right after that i faced issue opening the dev server. Then, after that being resolved, I tried to integrate authentication via better auth but that wasn’t working thus, i worked on other parts. Afterwards watched a dozens of tutorials and fix the auth. Then, again tried to add protected routes and wasted my entire morning watching and solving problems. Finally, the elephant in the room was sorted out. I finally was able to work on the parts which i already had experience about. Soon, i completed the application till favourite page and due to my exams and busy schedule, i had to pause. Afterwards continued and completed till ordering functionality. Oh my gosh! I started feeling exhausted and stopped for even more. Then, the rest of the crucial part of the application was completed in the last 3 days and talking about hosting, it turned out to be a nightmare for me, it tooked me approx 2 hours to fix the Reflect:Metadata error caused due to passkey from better-auth, then many other same issues that constantly broke the app. Then, i smacked my head on walls and found the culprit and resolved the issue and finally the app was working great until i realised the db is tooo slow. Then, i migrated the db from prisma studio to neon and then tweaks some code and the current app is ready to be used.
What am i proud of?
Honestly, I pushed my boundaries forward and continued working on a single project for more than 2 months, which is impressive for me atleast. Though ecommerce platform shouldn’t be that of a big as a achievement, I still thinks that the amount of knowledge I gained in this process. Thus, I am proud that I am among those who completes, once started.