Logo

My personal blog for guides, tutorials, and any other content I want to share.

Visit the site - Report Bug - Request Feature

Built With

Getting Started

Follow these steps to get the app running for you locally:

Prerequisites

  • npm

    npm install npm@latest -g
  • asdf

    https://asdf-vm.com/guide/getting-started.html
    
  • install right nodejs version

    asdf install

Installation

  1. Clone the repo
    git clone https://github.com/henrihuuskonen/blog
  2. Install dependencies
    npm install

Usage

# start the project in dev mode
npm run dev

# run tests
npm run test

Testing

The app is tested with Playwright. To run the tests:

# install browsers
npx playwright install

# run the tests
npm run test

The frontend is "protected" with visual regression testing, which are run in CI under playwright-tests step.

If the job fails on the visual regression test, updated snapshots are saved under the jobs artifacts for easy updating.

License

Distributed under the MIT License. See MIT License for more information.

Contact

Henri Huuskonen - mail@henrihuuskonen.dev