Bisectriz PWA#
A progressive web app to display the angle bisector of two angles given by zodiac sign, degrees and minutes. The angle bisector of the two given angles is always calculated counterclockwise from the smaller to the bigger angle, the order in the input fields does not matter. The two angles are given as zodiac sign -- starting at aries (0°), ending at pisces (330°) -- the rest given in degrees between 0° and 29° (inclusive) and minutes between 0' and 59' (inclusive).
Link to the Created PWA#
Usage#
Install all development dependencies using npm:
% npm install --save-dev
Available Scripts#
In the project directory, you can run:
-
npm run dev- Runs the app in the development mode. Open https://localhost:5173 to view it in the browser. Only works with certificate files../https_cert-key.pemand../https_cert.pem. See ./vite.config.ts: -
npm run build- Builds the app for production to the./httpfolder. To be used with a localnpm run preview. -
npm run build-codeberg- Builds the app for production and hosting at Codeberg pages to the./httpfolder. -
npm run preview- Run the app in production mode. Open https://localhost:4173 to view it in the browser. Only works with certificate files../https_cert-key.pemand../https_cert.pem. See ./vite.config.ts:server: { https: { key: fs.readFileSync("../localhost_https_cert-key.pem"), cert: fs.readFileSync("../localhost_https_cert.pem"), }, }, -
npm run test- Run the Mocha tests.
License#
Bisectriz is licensed under the AGPLv3 and later. See file ./LICENSE for details.