Skip to content

Frontend path

Use this path when your change is about the website experience: UI, pages, layout, filters, sorting, preview presentation, or copy.

You do not need to run the Worker for most frontend work.

Terminal window
git clone https://github.com/<you>/vimcolorschemes.git
cd vimcolorschemes
corepack enable
pnpm install

Create .env.local in the app repository root:

DATABASE_URL=file:./database/vimcolorschemes.db

The app repository includes a local example database at database/vimcolorschemes.db, so this works without Turso credentials.

Terminal window
pnpm dev

Open http://localhost:3000.

  • Page layout and responsive behavior.
  • Filter and sort UI.
  • Colorscheme cards and detail pages.
  • Preview component presentation.
  • Empty states, loading states, and copy.
ChangeStart here
Listing page behaviorsrc/app/(index)/i/[...filters]/page.tsx
Sort or filter optionssrc/lib/sort.ts, src/lib/filter.ts, src/helpers/query.ts
Repository cardssrc/components/repositoryCard/
Repository detail pagesrc/components/repositoryPageContent/
Preview markup or colorssrc/components/preview/, src/app/vim.css
API pagination datasrc/app/api/repositories/route.ts, src/services/repositoriesServer.ts

Run the full app check when you can:

Terminal window
pnpm check

For focused work, use pnpm test, pnpm tc, pnpm lint.check, or pnpm format.check.

If your change needs new data or changes database assumptions, switch to the full stack path.