מיישמים שכבות BACK END

המשימה היא לדרוש מה AI ליישם את כל התיאוריה שלמדנו בשיעורים הקודמים, אז נכתוב לו את זה ממש.

שימו לב שזה התוכן שאני נתתי בשבילי, אז אתם צריכים לתקן ולשנות מה שצריך, אולי להוסיף או להוריד שכבות.

בהמשך נפתח את שכבת השירותים החיצוניים, שהרי כל שירות חיצוני הוא עניין בפני עצמו.

 

read spec `2026-06-08-giraff-meme-generator-design.md`

i want you to build me a backend schema, i want to use only python, and always minimal, simplest frameworks abd libraries if any.

the layers i can think of are:
- security filters for all my inputs
- Authentication (google)
- API (prefer rest)
- authorization (per endpoint)
- business logic layer
- external services (external API's)
- DAL
- Logger

about the logger - IMPORTANT RULES for all layers:
- all functions must have try catch clauses, with ERROR log in case of catch
- all functions must have at least 1 DEBUG log at start
- you should add multiple DEBUG or LOG logs for easy debugging and error handling
- lets start with default minimum level of WARN only


think of any more layers. i want my app to be production AAA level, and secure, really professional

output to `docs/backend-schema-plan.md` and reference it in spec
«    (1...)   11  12  13   (...16)    »