My personal portfolio website built with SvelteKit, Svelte 5, Tailwind CSS. Test coverage with Playwright and Vitest. Deployed on Netlify.
npm install
Start the development server:
npm run dev
Navigate to http://localhost:5173/.
Build the project for production:
npm run build
Preview the production build:
npm run preview
Run unit tests:
npm run test
Run end-to-end tests:
npm run e2e
Format code:
npm run format
Lint code:
npm run lint
Type check:
npm run check
src/
├── lib/
│ └── components/
│ ├── Footer/ # Footer component
│ │ ├── __tests__/
│ │ └── Footer.svelte
│ └── ProjectCard/ # Reusable project card component
│ ├── __tests__/
│ └── ProjectCard.svelte
├── routes/
│ ├── projects/ # /projects page
│ │ └── +page.svelte
│ ├── +layout.svelte
│ └── +page.svelte # Home page
├── app.css
└── setupTests.ts
e2e/ # Playwright e2e tests
static/ # Static assets (images, icons)
This project uses lint-staged to run checks before commits:
All checks must pass before a commit is allowed.