Go to file
2026-01-09 00:58:43 +05:00
.opencode Added build plugin 2026-01-08 22:51:35 +05:00
docs Improved on metrics 2025-12-16 23:48:02 +05:00
public Initial commit 2025-11-25 17:02:53 +05:00
src Taylordb client was created 2025-12-29 13:00:50 +05:00
.gitignore Taylordb client was created 2025-12-29 13:00:50 +05:00
.ignore Removing Agents.md from list 2025-12-03 19:35:17 +05:00
AGENTS.md Resutrctured opencode configuration 2025-12-15 15:18:52 +05:00
components.json improvements: added tailwind v4, shadcn, react router 2025-12-15 11:16:10 +03:00
eslint.config.js Fixed linter issues 2025-12-07 14:36:41 +05:00
index.html Implemented autocommit 2025-12-05 10:08:25 +05:00
opencode.json Resutrctured opencode configuration 2025-12-15 15:18:52 +05:00
package.json Improved on metrics 2025-12-16 23:48:02 +05:00
pnpm-lock.yaml Improved on metrics 2025-12-16 23:48:02 +05:00
README.md improvements: added tailwind v4, shadcn, react router 2025-12-15 11:16:10 +03:00
taylordb.yml Adopted to new taylordb yml config 2026-01-09 00:58:43 +05:00
tsconfig.app.json improvements: added tailwind v4, shadcn, react router 2025-12-15 11:16:10 +03:00
tsconfig.json Initial commit 2025-11-25 17:02:53 +05:00
tsconfig.node.json Initial commit 2025-11-25 17:02:53 +05:00
vite.config.ts Fixed type issue in vite configuration 2025-12-15 15:32:38 +05:00

TaylorDB React Starter

React + Vite starter with Tailwind CSS (v4), React Router v6, and shadcn/ui wired up for building custom UIs on TaylorDB.

What's included

  • React Router layout with sample pages (/, /about, fallback *)
  • Tailwind v4 configured for shadcn (design tokens, dark mode, animations)
  • shadcn/ui baseline components: button, card, input, label, textarea, select, tabs, alert
  • Path aliases via @ (@/components, @/lib, etc.)

Getting started

pnpm install
pnpm dev

Using the shadcn CLI

The project is already initialized with components.json. Add more components with:

pnpm dlx shadcn@latest add <component>

Examples:

pnpm dlx shadcn@latest add dialog dropdown-menu table

Generated files go into src/components/ui/ and use the shared Tailwind tokens in src/index.css.

Available components

  • Layout/structure: card, tabs
  • Form controls: input, label, textarea, select
  • Feedback: alert
  • Buttons: button

TaylorDB integration

Use the generated TaylorDB client and types (expected in src/lib/taylordb.client.ts and src/lib/taylordb.types.ts) to query data directly. Do not use mock data.

Scripts

  • pnpm dev — run Vite dev server (HMR)
  • pnpm build — type-check + build
  • pnpm lint — ESLint (strict, no any)

Notes

  • Tailwind 4 uses @tailwindcss/vite; CSS entry is @import "tailwindcss"; in src/index.css.
  • Tailwind config is in tailwind.config.js; CSS tokens live in src/index.css.
  • Components use @/lib/utils for the cn helper (clsx + tailwind-merge).