How senadurcan/airnbclone works
Project type and purpose
• This is a monolithic full-stack web application built with Django (a Python MVC/MTV framework).
• It implements an “Airbnb clone” (Airnbclone), handling user accounts, property listings, booking confirmation, profile pages, static assets, and media uploads.
File structure
• Top-level
• manage.py – Django CLI entry point
• db.sqlite3 – development database
• Airbnb/ – Django project directory (settings, URL router, WSGI/ASGI)
• myApp/ – main Django application
• media/ – user-uploaded assets (postpic, profilpic)
• static/ & templates/ under myApp – front-end files
• Key patterns
• MTV (Model-Template-View) architecture
• settings.py configures database, static & media roots
• urls.py routes incoming HTTP requests to myApp.views
• models.py + migrations/ define persistence layer
• views.py + forms.py handle request processing & data validation
README for additional insights
• Minimal description (“Airnbclone”), but file structure strongly implies standard Django stack.