The Starting Point

My uncle Vasim runs a garment factory in Faisalabad. They export over 300,000 garments every month to brands in the UK and Europe. When I started working there as a store assistant, I noticed something strange: a business of that scale had no website, no digital systems, and no brand identity. Everything ran on paper and Excel.

I had no coding experience. But I had seen enough websites to know what a good one looked like, and I was curious enough to try building one myself.

Picking the Stack

After researching for about a week, I landed on a stack that made sense for a content-heavy B2B website:

  • Astro 5 for the framework. Static site generation meant fast loading with zero JavaScript by default.
  • Tailwind CSS for styling. Utility classes let me move fast without fighting CSS specificity.
  • GSAP + ScrollTrigger for animations. I wanted premium scroll interactions, not just fade-ins.
  • Supabase for the backend. Quote requests, sample forms, and an admin dashboard all needed a database.
  • Vercel for hosting. Free tier, automatic deploys from GitHub, fast CDN.

What I Actually Built

The website ended up being much bigger than a simple corporate page. Here's what shipped:

  • Custom scroll animations on every section using GSAP and ScrollTrigger
  • A real-time quote calculator where buyers can get instant pricing
  • A sample request system connected to Supabase
  • An admin dashboard for the factory team to manage incoming requests
  • Full dark mode with smooth transitions
  • An AI chat widget for quick visitor questions
  • Mobile responsive down to 320px

The site is live at revestitching.com if you want to see it.

The Hard Parts

The animations were the trickiest. Getting scroll-triggered reveals to feel smooth without janking on slower devices took a lot of trial and error. I learned that fewer, well-timed animations always beat more, flashier ones.

The admin dashboard was another challenge. I had to learn Supabase Row Level Security to make sure only authorized users could view and manage form submissions. That was my first real taste of backend security.

What a Software House Quoted

Before I volunteered to build everything, the factory got quotes from local software houses. The range was ₨500,000 to ₨2,000,000 for the scope I ended up delivering. I did it solo, at 17.

I'm not saying this to brag. I'm saying it because the gap between "what agencies charge" and "what a motivated builder can deliver" is massive right now. The tools are accessible. The knowledge is free. You just have to actually do the work.

What I'd Do Differently

If I started this project today, I'd plan the content structure before writing any code. I spent too many hours rearranging sections because I didn't have a clear sitemap upfront. I'd also set up analytics from day one instead of adding it later.

But honestly? Shipping something imperfect taught me more than any tutorial ever could.

The best way to learn is to build something real for someone who actually needs it.