Architect app to handle quotes.
Project ships with devcontainer configuration. Using Visual Studio Code is the preferred IDE.
I try to follow the TDD approach - test first - using Tape. Continuously executing tests while doing developement helps prevent breaking code. Simply run npm run watch
to run all tests for every change. Since everything is done in memory test are blazingly fast.
Code coverage is measured so we know we didn’t miss to test something.
A bunch of example requests can be found here
more info on thunderclient here
-
Generated SvelteKit FE with:
node@quotesservice-dev:/src/svelte$ npm create svelte@latest my-app
npx: installed 7 in 5.971s
create-svelte version 3.2.0
┌ Welcome to SvelteKit!
│
◇ Which Svelte app template?
│ SvelteKit demo app
│
◇ Add type checking with TypeScript?
│ Yes, using JavaScript with JSDoc comments
│
◇ Select additional options (use arrow keys/space bar)
│ Add ESLint for code linting, Add Prettier for code formatting, Add Playwright for browser testing, Add Vitest for unit testing
│
└ Your project is ready!
✔ Type-checked JavaScript
https://www.typescriptlang.org/tsconfig#checkJs
✔ ESLint
https://github.com/sveltejs/eslint-plugin-svelte3
✔ Prettier
https://prettier.io/docs/en/options.html
https://github.com/sveltejs/prettier-plugin-svelte#options
✔ Playwright
https://playwright.dev
✔ Vitest
https://vitest.dev
Install community-maintained integrations:
https://github.com/svelte-add/svelte-add
Next steps:
1: cd my-app
2: npm install (or pnpm install, etc)
3: git init && git add -A && git commit -m "Initial commit" (optional)
4: npm run dev -- --open
To close the dev server, hit Ctrl-C
Stuck? Visit us at https://svelte.dev/chat
node@quotesservice-dev:/src/svelte$