data-peek/apps/web
Rohith Gilla 758eceebdd
Fix case-sensitive table names and cross-database identifier quoting (#126)
* Fix case-sensitive table names and cross-database identifier quoting

Use proper identifier quoting helpers (quoteIdentifier, buildFullyQualifiedTableRef)
everywhere SQL is constructed, instead of raw string interpolation. Fixes failures
with mixed-case table names on PostgreSQL (e.g. "Organization") and wrong quote
characters for MySQL/MSSQL.

* UI design improvements and unify color palette to blue across monorepo

- Migrate accent color from cyan (#22d3ee) to blue (#6b8cf5) across
  web, docs, video, and email templates for brand consistency
- Improve light mode: stronger borders, darker muted text, distinct
  chart colors (were all identical gray)
- Simplify empty states: remove icon circle, lead with keyboard
  shortcut on CTA button
- Reduce sidebar density: group related sections, hide empty sections
  when no connection is active, fewer separators
- Add toolbar hierarchy: vertical dividers between query actions and
  utility actions, Focus button is now icon-only
- Update .impeccable.md and CLAUDE.md to reflect blue as canonical
  accent color

* Fix health monitor ambiguous column errors and table sizes performance

- Qualify all column references in cache hit ratios query with table aliases
- Rewrite table sizes query to use OID-based size functions instead of
  repeated string-based lookups, add LIMIT 50
- Cap table sizes card height at 500px with sticky header for scrollability

* Fix MSSQL LIMIT syntax in resolveFK, collapse duplicate LIKE branches

---------

Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
2026-04-02 12:13:37 +05:30
..
drizzle feat: web updates with pro license, customer portal, and safety improvements (#24) 2025-12-03 16:44:38 +05:30
public feat: add web app 2025-11-28 20:29:49 +05:30
scripts Fix case-sensitive table names and cross-database identifier quoting (#126) 2026-04-02 12:13:37 +05:30
src Fix case-sensitive table names and cross-database identifier quoting (#126) 2026-04-02 12:13:37 +05:30
.gitignore feat: add web app 2025-11-28 20:29:49 +05:30
drizzle.config.ts feat: add web app 2025-11-28 20:29:49 +05:30
eslint.config.mjs feat: add web app 2025-11-28 20:29:49 +05:30
next.config.ts feat: enforce www redirection and update URLs for SEO consistency 2025-12-24 20:06:22 +05:30
package.json chore: release v0.16.1 2026-04-01 20:56:13 +05:30
postcss.config.mjs feat: add web app 2025-11-28 20:29:49 +05:30
README.md chore: prepare for open source release 2025-11-29 10:57:24 +05:30
tsconfig.json feat: add web app 2025-11-28 20:29:49 +05:30

data-peek Web

Marketing website and licensing portal for data-peek.

Tech Stack

  • Next.js 16 (App Router)
  • Tailwind CSS 4
  • Clerk (Authentication)
  • Drizzle ORM + PostgreSQL
  • DodoPayments (Payments)
  • Resend (Emails)

Development

# From the root directory
pnpm dev:web

# Or from this directory
pnpm dev

Open http://localhost:3000 to view the site.

Environment Variables

Copy .env.example to .env.local and fill in the values:

cp .env.example .env.local

Required variables:

  • DATABASE_URL - PostgreSQL connection string
  • CLERK_SECRET_KEY - Clerk authentication
  • NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY - Clerk public key
  • DODO_API_KEY - DodoPayments API key
  • DODO_WEBHOOK_SECRET - DodoPayments webhook secret
  • RESEND_API_KEY - Resend email API key

Deployment

The web app is designed to be deployed on Vercel.