YoniShalfi/EasyFlght-session-BE ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python backend for a simple flight booking app called EasyFlight.
I want a clean API that can handle users, login, customers, countries, airlines, flights, and tickets. It should let me create, view, update, and delete the main records, and support basic session style login so a user can sign in and use the system. The app should connect to a database, use models and a data access layer, and have separate API files for each area so it stays organized.
Please include sensible validation, error handling, and logging so it’s easy to debug. If there are any missing details, make reasonable choices and keep it practical. Use current Python best practices, and if you need to check anything up, look up the current docs online.
Are you gonna build this?
make sure you review the code using coderabbit