chore(web): improve dbSetup descriptions

This commit is contained in:
Aman Varshney
2025-09-08 13:08:20 +05:30
parent 74eb961af7
commit c4cf9c375b
2 changed files with 11 additions and 10 deletions

View File

@@ -50,7 +50,7 @@ export async function getDBSetupChoice(
{ {
value: "planetscale" as const, value: "planetscale" as const,
label: "PlanetScale", label: "PlanetScale",
hint: "Serverless MySQL platform with branching (Postgres compatible)", hint: "Postgres & Vitess (MySQL) on NVMe",
}, },
{ {
value: "supabase" as const, value: "supabase" as const,
@@ -74,7 +74,7 @@ export async function getDBSetupChoice(
{ {
value: "planetscale" as const, value: "planetscale" as const,
label: "PlanetScale", label: "PlanetScale",
hint: "Serverless MySQL platform with branching", hint: "MySQL on Vitess (NVMe, HA)",
}, },
{ {
value: "docker" as const, value: "docker" as const,

View File

@@ -289,56 +289,57 @@ export const TECH_OPTIONS: Record<
{ {
id: "turso", id: "turso",
name: "Turso", name: "Turso",
description: "SQLite cloud database powered by libSQL", description: "Distributed SQLite with edge replicas (libSQL)",
icon: `${ICON_BASE_URL}/turso.svg`, icon: `${ICON_BASE_URL}/turso.svg`,
color: "from-pink-400 to-pink-600", color: "from-pink-400 to-pink-600",
}, },
{ {
id: "d1", id: "d1",
name: "Cloudflare D1", name: "Cloudflare D1",
description: "Serverless SQLite database on Cloudflare Workers", description:
"Serverless SQLite-compatible database for Cloudflare Workers",
icon: `${ICON_BASE_URL}/workers.svg`, icon: `${ICON_BASE_URL}/workers.svg`,
color: "from-orange-400 to-orange-600", color: "from-orange-400 to-orange-600",
}, },
{ {
id: "neon", id: "neon",
name: "Neon Postgres", name: "Neon Postgres",
description: "Serverless PostgreSQL with Neon", description: "Serverless Postgres with autoscaling and branching",
icon: `${ICON_BASE_URL}/neon.svg`, icon: `${ICON_BASE_URL}/neon.svg`,
color: "from-blue-400 to-blue-600", color: "from-blue-400 to-blue-600",
}, },
{ {
id: "prisma-postgres", id: "prisma-postgres",
name: "Prisma PostgreSQL", name: "Prisma PostgreSQL",
description: "Set up PostgreSQL with Prisma", description: "Managed Postgres via Prisma Data Platform",
icon: `${ICON_BASE_URL}/prisma.svg`, icon: `${ICON_BASE_URL}/prisma.svg`,
color: "from-indigo-400 to-indigo-600", color: "from-indigo-400 to-indigo-600",
}, },
{ {
id: "mongodb-atlas", id: "mongodb-atlas",
name: "MongoDB Atlas", name: "MongoDB Atlas",
description: "Cloud MongoDB setup with Atlas", description: "Managed MongoDB clusters in the cloud",
icon: `${ICON_BASE_URL}/mongodb.svg`, icon: `${ICON_BASE_URL}/mongodb.svg`,
color: "from-green-400 to-green-600", color: "from-green-400 to-green-600",
}, },
{ {
id: "supabase", id: "supabase",
name: "Supabase", name: "Supabase",
description: "Local Supabase stack (requires Docker)", description: "Local Postgres stack via Supabase (Docker required)",
icon: `${ICON_BASE_URL}/supabase.svg`, icon: `${ICON_BASE_URL}/supabase.svg`,
color: "from-emerald-400 to-emerald-600", color: "from-emerald-400 to-emerald-600",
}, },
{ {
id: "planetscale", id: "planetscale",
name: "PlanetScale", name: "PlanetScale",
description: "Serverless MySQL platform with branching", description: "Postgres & Vitess (MySQL) on NVMe",
icon: `${ICON_BASE_URL}/planetscale.svg`, icon: `${ICON_BASE_URL}/planetscale.svg`,
color: "from-orange-400 to-orange-600", color: "from-orange-400 to-orange-600",
}, },
{ {
id: "docker", id: "docker",
name: "Docker", name: "Docker",
description: "Local database with Docker Compose", description: "Run Postgres/MySQL/MongoDB locally via Docker Compose",
icon: `${ICON_BASE_URL}/docker.svg`, icon: `${ICON_BASE_URL}/docker.svg`,
color: "from-blue-500 to-blue-700", color: "from-blue-500 to-blue-700",
}, },