How maxseidlitz/webapp_zeiterfassung works
Main Components
• Frontend:
• index.html – the core HTML file forming the view.
• style.css – provides basic styling (with potential expansion later).
• script.js – handles user interactions and manages client-side behavior.
• Backend:
• backend.py – currently serves as the server-side component written in Python.
• Marking an area for future Flutter integration in the backend to indicate planned mobile or hybrid functionality.
• Data Handling:
• A simple in-memory list is currently used for data storage, but note that future additions (like statistical views) may require a dedicated database.
Relationships and Interactions
• That JavaScript is responsible for capturing user interactions and sending time entries to the backend.
Architectural Patterns and Design Principles
• Separation of concerns: Clearly distinguish the presentation layer (HTML/CSS/JavaScript) from the application logic (Python code in backend.py).
• Ready for scaling: Although not yet implemented, there is room for enhancements like moving from an in-memory list to a database, and including statistical components.
Relevant Technologies
• Frontend uses standard web technologies (HTML, CSS, JavaScript).
• Backend is written in Python, and the README also mentions Flutter – likely for upcoming functionality, so note this as a planned expansion.
Elements
• Clear labels for each component – “Frontend: index.html, style.css, script.js”, “Backend: backend.py, (Future: Flutter)”, and “Data Store (List)”.