Mr. Freelancer
HomeServicesPortfolioAboutContact
Get a Quote
Mr. Freelancer

Building digital products. We design, develop, and scale custom web and mobile ecosystems — from concept to launch.

Quick Links
Home
Services
Portfolio
About
Contact
Get in Touch
info@mrfreelancer.inWhatsApp
Contact Form
© 2026 Mr. Freelancer. All rights reserved.
Back to Portfolio
Web Development

FreshCart Web

Status
In Development
Technologies Utilized
ReactTypeScriptPostgreSQLNode.jsExpressTailwind CSS

Overview

FreshCart is a high-traffic online grocery delivery service. As the platform scaled, the initial MongoDB database structure led to serious data inconsistency issues, missing relationships, and slow complex queries. The frontend codebase, written in un-typed JavaScript, suffered from frequent runtime bugs and slow rendering speeds.

The Challenge

The main challenges were three-fold: first, migrating hundreds of thousands of documents from MongoDB to PostgreSQL without causing service downtime; second, refactoring a massive legacy JavaScript codebase into strict TypeScript to prevent runtime type errors; and third, optimizing frontend bundle sizes to improve load times for users on low-bandwidth mobile connections.

Our Solution

We designed and executed a phased migration database strategy using structured PostgreSQL schemas with strict foreign key constraints. We completely refactored the backend controllers and utility functions into TypeScript. On the frontend, we migrated to a modern Next.js structure and optimized asset loading.

Key Outcomes

  • 40% improvement in page load speeds and overall rendering latency.
  • Zero data loss or schema inconsistencies during database migration.
  • 99.9% reduction in runtime frontend errors due to strict type checking.
Let's Collaborate

Ready to build something great?

Let's design, develop, and scale your next digital product together. Get in touch for a custom consultation.

Start a ProjectView Our Work