This is a simple calculator, but it sends the data to my own created API (within the application) using fetch and H3 (which is integrated into the Nitro server engine this runs on).
It prevents a GET request; you will see this if you route to "/api/calculate".
The application has Jest testing. Only one component test has been written as an example here, which tests the header. At the time of setting up Jest, Vitest was still in its infancy.