svelte
svelte-router-spa
- client side routingaxios
- http client@tanstack/svelte-query
- data fetching, caching, and state managementbootstrap
, sveltestrap
- UI components, mostly css stylessvelte-paginate
- ready to use pagination componentsvelte-select
- advanced select componentsvelte-toasts
- toast notificationsbytemd
+ plugins, highlight.js
- Markdown editor/viewervitest
, @testing-library/svelte
- unit testingplaywright
, @playwright/experimental-ct-svelte
- e2e and components testingmsw
- mocking http requestsMake sure you have the pre-requisites installed.
Create a .env
file in the root directory of the project and add the following variables:
VITE_BACKEND_URL=http://localhost:8000/api
Install dependencies
pnpm install
Run development server
pnpm dev
Vitest unit tests
pnpm test
Code coverage
pnpm coverage
Playwright e2e testing
pnpm exec playwright test
Playwright components testing
pnpm run test-ct
Building static files
pnpm build
This application has been deploy to Vercel.
Go to Vercel and create a new project. Connect it to your GitHub repository and deploy it.
Go to settings and add the following variables:
VITE_BACKEND_URL=https://engineer-thesis-api.fly.dev/api