- Don't have a license?{' '}
+ Don't have a license?{' '}
- {isPreviewLoading ? }
+ {isPreviewLoading ? (
+
+ )}
Preview SQL
{previewSql}
@@ -577,7 +578,6 @@ export function TableDesigner({ tabId }: TableDesignerProps) {
// Column row component
interface ColumnRowProps {
column: ColumnDefinition
- index: number
isSelected: boolean
validationErrors: ValidationError[]
onSelect: () => void
@@ -588,7 +588,6 @@ interface ColumnRowProps {
function ColumnRow({
column,
- index: _index,
isSelected,
validationErrors,
onSelect,
@@ -653,7 +652,9 @@ function ColumnRow({
onChange('length', e.target.value ? parseInt(e.target.value) : undefined)}
+ onChange={(e) =>
+ onChange('length', e.target.value ? parseInt(e.target.value) : undefined)
+ }
placeholder="n"
className="h-8 w-14 text-center"
/>
@@ -663,14 +664,18 @@ function ColumnRow({
onChange('precision', e.target.value ? parseInt(e.target.value) : undefined)}
+ onChange={(e) =>
+ onChange('precision', e.target.value ? parseInt(e.target.value) : undefined)
+ }
placeholder="p"
className="h-8 w-12 text-center"
/>
onChange('scale', e.target.value ? parseInt(e.target.value) : undefined)}
+ onChange={(e) =>
+ onChange('scale', e.target.value ? parseInt(e.target.value) : undefined)
+ }
placeholder="s"
className="h-8 w-12 text-center"
/>
diff --git a/apps/web/README.md b/apps/web/README.md
index e215bc4..d6dfa6b 100644
--- a/apps/web/README.md
+++ b/apps/web/README.md
@@ -1,36 +1,44 @@
-This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
+# data-peek Web
-## Getting Started
+Marketing website and licensing portal for data-peek.
-First, run the development server:
+## Tech Stack
+
+- Next.js 16 (App Router)
+- Tailwind CSS 4
+- Clerk (Authentication)
+- Drizzle ORM + PostgreSQL
+- DodoPayments (Payments)
+- Resend (Emails)
+
+## Development
```bash
-npm run dev
-# or
-yarn dev
-# or
+# From the root directory
+pnpm dev:web
+
+# Or from this directory
pnpm dev
-# or
-bun dev
```
-Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
+Open [http://localhost:3000](http://localhost:3000) to view the site.
-You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
+## Environment Variables
-This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
+Copy `.env.example` to `.env.local` and fill in the values:
-## Learn More
+```bash
+cp .env.example .env.local
+```
-To learn more about Next.js, take a look at the following resources:
+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
-- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
-- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
+## Deployment
-You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
-
-## Deploy on Vercel
-
-The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
-
-Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
+The web app is designed to be deployed on Vercel.
diff --git a/package.json b/package.json
index 81ed45d..bd7b891 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "data-peek",
- "version": "1.0.0",
+ "version": "0.1.0",
"description": "",
"main": "index.js",
"scripts": {
diff --git a/packages/shared/package.json b/packages/shared/package.json
index b824644..b34fa2a 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -1,6 +1,6 @@
{
"name": "@data-peek/shared",
- "version": "0.0.1",
+ "version": "0.1.0",
"private": true,
"main": "./src/index.ts",
"types": "./src/index.ts",