Get started
Quickstart
Run the Pinter frontend locally and connect it to the backend.
Use this guide to run the Pinter frontend on your machine.
Prerequisites
- Bun 1.0 or later.
- Pinter backend running on
http://localhost:8000. - Bun 1.0 or later (the docs site also runs on Node.js 20+).
Install dependencies
From pinter-fe:
bun install
Configure environment
Create .env from the example file:
cp .env.example .env
Set the backend URL:
VITE_API_URL=http://localhost:8000
VITE_PROJECT_TITLE=Pinter
Start the frontend
bun run dev
The frontend runs on http://localhost:3000.
Run checks
bun run typecheck
bun run lint
bun run build
Preview these docs locally
The docs site is an Astro app in docs-site/ that renders the MDX files in docs/.
cd docs-site
bun install
bun run dev --port 3001
The docs preview runs on http://localhost:3001. Use port 3001 because the Pinter frontend uses 3000.