Sveltekit birthday reminder using TDD
The goal of the project is to learn writing tests and understanding concepts like TDD, AAA, mocking, custom matchers and side-by-side implementation with general best practices.
Notes: NOTES.md :exclamation:
This repository contains:
Most of the code is from the book Svelte with Test-Driven Development by Daniel Irvine.
In order to access GitHub auth you need to provide:
GITHUB_ID
GITHUB_SECRET
You can also log in with credentials, username is api
.
Clone the project
git clone https://github.com/AdrakPro/svelte-tdd.git
Go to the project directory
cd svelte-tdd
Install dependencies
npm install
Start the server
npm run dev
Run tests (unit and e2e)
npm run test
If you have any feedback, please reach out to me adam.makarewicz@proton.me