I can see you're handling an empty input in the backend in handler.js - good job - could I suggest also handling it in the front-end too (perhaps on the front-end, if the user has tried to press enter or click on the submit button when the input is empty, it would display something and not send the request to the backend in the first place.
https://github.com/fac-13/PaGiToNi/blob/7a5fea2756152ef2845ba5370cc0cee026ce7f4f/src/handler.js#L79-L85
I can see you're handling an empty input in the backend in
handler.js
- good job - could I suggest also handling it in the front-end too (perhaps on the front-end, if the user has tried to press enter or click on the submit button when the input is empty, it would display something and not send the request to the backend in the first place.Very minor issue though!