From 1de737f32307c5520bd4184d19ecc032d8f97a3d Mon Sep 17 00:00:00 2001 From: Rene Arumetsa Date: Tue, 9 Dec 2025 17:49:27 +0200 Subject: [PATCH] Update nextjs --- README.md | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 131 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cecbf10..4931911 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,133 @@ +# Tipilan + +> Tipilan — a Next.js (App Router) website using TypeScript, Tailwind, Drizzle ORM and i18n (English & Estonian). + +This repository contains the website front-end and database schema/migrations for the Tipilan project. + +## Tech stack + +- Next.js 15 (App Router) +- React 19 + TypeScript +- Tailwind CSS +- Drizzle ORM (drizzle-kit) for database schema & migrations +- next-intl for internationalization (English / Estonian) +- pnpm as package manager + +## Requirements + +- Node.js >= 22.0.0 (see `package.json` engines) +- pnpm (recommended; repo contains `pnpm-lock.yaml`) + +Install pnpm if you don't have it: + +```bash +npm install -g pnpm +``` + +## Quick start + +1. Clone the repo + +```bash +git clone +cd tipilan +``` + +2. Install dependencies + +```bash +pnpm install +``` + +3. Run development server + +```bash +pnpm dev +``` + +The app uses Next's turbopack in development (`next dev --turbopack`). Open http://localhost:3000 by default. + +## Available scripts + +These scripts are defined in `package.json` and are the recommended entry points: + +- `pnpm dev` — start development server (uses turbopack) +- `pnpm build` — production build +- `pnpm start` — run production server after build +- `pnpm lint` — run ESLint +- `pnpm drizzle:generate` — generate Drizzle migration artifacts for SQLite +- `pnpm drizzle:push` — push migrations to SQLite database +- `pnpm drizzle:studio` — start Drizzle Studio + +Run them with `pnpm