12 Commits

Author SHA1 Message Date
Steve Dogiakos
3652a3b98a Add basic logging
- Configure Python logging at INFO level.
- Log key events: database initialization, incoming requests, validation errors, and successful guest submissions.
- Log the number of guest entries displayed when rendering the page.

This improves observability and helps with troubleshooting.
2025-04-01 18:06:10 -06:00
Steve Dogiakos
83775b716f Add server-side input validation
- Validate that first_name, last_name, email, and location are provided
- Add regex-based email format validation in app.py
- Display error messages on the guestbook form if validation fails

These changes help ensure that only properly formatted data is stored.
2025-04-01 18:01:58 -06:00
Steve Dogiakos
e18fd5fffa Split out name to first and last, only displaying First name field and location field. 2025-04-01 17:40:08 -06:00
35563a4d08 Merge branch 'html-form' of https://github.com/tmdinosaurcenter/kiosk-guestbook into html-form 2025-04-01 17:28:27 -06:00
Steve Dogiakos
128f0b924e fixed requirements.txt by pinning to lower version 2025-04-01 17:28:09 -06:00
7e4d2621d3 Make readme relevant to this branch 2025-04-01 17:19:43 -06:00
e7b1560447 Migrate application from Node.js to Flask, removing Node dependencies and adding Flask requirements. Foregoing the Google Form for a simpler MVP using a simple HTML form and SQLite db 2025-04-01 16:55:34 -06:00
be54d04114 Add express dependency to package.json to fix missing module issue 2025-01-27 16:06:00 -07:00
c99396f263 Fixed some README.md formatting 2025-01-27 13:58:30 -07:00
626fa3d4a6 adding public folder 2025-01-27 13:47:35 -07:00
98870d51f1
Steve's initial commit 2025-01-27 13:25:14 -07:00
2e421a2075
Initial commit 2025-01-27 13:12:16 -07:00