Kent C. Dodds' site
This repository contains the source code for kentcdodds.com, built with Remix, React, TypeScript, Vite, and an Express server.
Tech stack
- React Router + React + TypeScript
- Vite build pipeline
- Express runtime server
- Prisma + SQLite
- Tailwind CSS
- Vitest and Playwright for testing
Prerequisites
Setup
- Clone the repository.
- Copy environment variables:
cp .env.example .env
- Run the full setup script:
npm run setup -s
The setup script installs dependencies, resets the local database, validates the project, primes local cache data, installs Playwright browsers, and runs end-to-end tests.
Local development
Start the development server:
npm run dev
Then open http://localhost:3000.
Useful scripts
npm run dev- start local development servernpm run test- run unit/component testsnpm run test:e2e:dev- run Playwright tests against dev servernpm run lint- run ESLintnpm run typecheck- run TypeScript checksnpm run build- build the app
Contributing
For contribution guidelines and manual setup details, read
CONTRIBUTING.md.