← Back to Blog
Dev SprintNext.jsSupabaseVercel

From Idea to Live Site: My Repeatable 48-Hour Website Framework

TheWestNepal.live went from idea to live in 48 hours. The reason was not speed for its own sake — it was a repeatable six-step framework that eliminates decision fatigue at every stage.

SPSantosh Paudel· June 1, 2026· 8 min read
Table of contents

Speed in software development is almost always a byproduct of decisions already made, not effort applied in the moment.

When TheWestNepal.live went from concept to live production site in 48 hours, it was not because I worked harder than usual. It was because I had already decided: the stack (Next.js + Supabase + Vercel), the structure (app router, server components, ISR), the auth approach, the SEO layer, and the deployment target. There were no architecture decisions to make during the build. Only building.

Here is the framework — six stages, in sequence, with no skipping.

Stage 1: Schema First (2–4 hours)

Before any Next.js code, I open the Supabase SQL editor and write the schema.

The schema defines what the site can store and display. Every page is, ultimately, a query against some table. Defining the tables first means every subsequent decision — what to build, what to display, what to admin — has a clear answer.

For TheWestNepal.live, the schema took 90 minutes: articles, categories, authors, tags. Simple fields, correct types, foreign keys, indexes on slugs and published_at.

A schema that takes 2 hours to write will take 2 days to add to mid-build if you skip it.

Stage 2: Next.js Scaffold (1–2 hours)

npx create-next-app with TypeScript and Tailwind, then immediately wire the Supabase client in lib/supabase.ts and create the core layout in app/layout.tsx.

I do not install additional packages at this stage. No UI component library, no animation library, no date library. Those come later, when I know I need them. The scaffold is: framework, database client, core layout, global CSS.

Stage 3: Backend + API Layer (4–8 hours)

Server components fetch data directly from Supabase — no intermediate API layer for reads. The patterns are consistent: every data-fetching function lives in lib/ and returns typed data.

// lib/articles.ts
export async function getPublishedArticles(): Promise<Article[]> {
  const { data } = await supabase
    .from('articles')
    .select('*')
    .eq('published', true)
    .order('published_at', { ascending: false });
  return data ?? [];
}

Write operations (contact form, newsletter signup) get API routes in app/api/.

The admin panel gets built in parallel with the public pages — they share the same database, so building one informs the other.

Stage 4: Content (2–4 hours)

For TheWestNepal.live, content was the exported WordPress data, transformed and loaded into Supabase. For new sites, content is either seeded placeholder data or real content written in the CMS.

The key principle: no deploy until the site has real content. Deploying an empty site to verify the structure is fine. Launching an empty site as if it were the real thing is not.

Stage 5: SEO (2–3 hours)

This is the stage most developers skip or defer. Do not.

The SEO layer is:

  • sitemap.ts generating from Supabase (every published article, automatically)
  • robots.ts with correct allow/disallow rules
  • Schema markup per content type (BlogPosting, BreadcrumbList)
  • Per-page metadata from database records (generateMetadata in Next.js)
  • Open Graph tags for social sharing

This layer takes 2–3 hours to build once and costs nothing to maintain. Deferring it costs you weeks of indexing lag.

Stage 6: Deploy (30 minutes)

git push to GitHub. Vercel detects the push, builds, deploys. Set the custom domain in Vercel's dashboard. Add the domain's DNS records (CNAME or A record) in Namecheap. Wait 5–30 minutes for DNS propagation.

The site is live.

Why the Sequence Matters

The stages run in dependency order. Schema before scaffold because the scaffold depends on knowing what data exists. Backend before content because you need somewhere to put the content. SEO before deploy because you want to be indexable from day one.

Violating the sequence does not make individual stages faster — it makes later stages harder. A scaffold without a schema generates placeholder queries. Content without a backend has nowhere to live. A deploy without SEO is invisible.

The 48-hour number is real for TheWestNepal.live because I had run this sequence before and the decisions were already made. For a developer running the sequence for the first time, 5–7 days is more realistic. The second time is 3 days. The third time is 48 hours.


Resources


Want this framework applied to your project? I build full-stack sites in days using exactly this sequence — schema-first, SEO-included, production-ready from day one. See my services or get in touch.

Get the free AI Prompt Pack + weekly frameworks

30+ tested prompts for images, captions, scripts & keywords, delivered instantly. Plus real insights on AI + marketing — no generic tips.

No spam. Unsubscribe anytime.

Want to implement this with guidance?

Santosh helps founders turn insights like this into real systems.

AI Content Systems

External Resources

Further Reading & Tools

Related Posts

01
2 min
Next.jsSupabase
6d agoProgrammatic SEO

The Engine Room: Architecting a 200+ Page Programmatic Content System on Next.js 15 & Supabase

Managing a handful of blogs is easy. Scaling to 200+ high-quality, vertical-specific content assets is an engineering challenge. Here is the exact programmatic database schema, static generation routing, and automated pipeline behind a high-velocity content engine.

Read article
02
9 min
Next.jsSupabase
20d agoDev Sprint

How I Shipped 4 Full-Stack Platforms in 25 Days

Four production-ready sites. One developer. Twenty-five days. Here is the exact stack, timeline, and workflow — including what broke and what made it possible.

Read article
03
8 min
portfolioadmin panel
23d agoProject Deep-Dive

Case Study: santoshpaudel.me — A Portfolio That Runs Like a Business

Most developer portfolios are digital brochures. Mine has a CRM, lead management, AI content agents, and a full admin panel. Here is what I built and why.

Read article