{"id":25980079,"url":"https://github.com/epic-codebase/airbnb_clone_django_drf","last_synced_at":"2026-04-12T06:35:06.609Z","repository":{"id":274994552,"uuid":"924707968","full_name":"Epic-Codebase/Airbnb_clone_django_drf","owner":"Epic-Codebase","description":"An Airbnb clone app made with Django DRF and NextJS","archived":false,"fork":false,"pushed_at":"2025-02-12T09:53:52.000Z","size":211,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-05T07:36:27.167Z","etag":null,"topics":["airbnb-clone","cicd","depl","deployment","django","django-channels","djanogo-rest-framework","docker","docker-compose","javascript","nextjs","python","react","web-application","web-development"],"latest_commit_sha":null,"homepage":"http://137.184.235.176:3000","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Epic-Codebase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-30T14:05:46.000Z","updated_at":"2025-02-12T23:27:02.000Z","dependencies_parsed_at":"2025-01-30T16:31:59.470Z","dependency_job_id":"9f19f5e2-152b-416d-a9de-413a901282a3","html_url":"https://github.com/Epic-Codebase/Airbnb_clone_django_drf","commit_stats":null,"previous_names":["epic-codebase/airbnb_clone_django_drf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Epic-Codebase/Airbnb_clone_django_drf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-Codebase%2FAirbnb_clone_django_drf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-Codebase%2FAirbnb_clone_django_drf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-Codebase%2FAirbnb_clone_django_drf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-Codebase%2FAirbnb_clone_django_drf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Epic-Codebase","download_url":"https://codeload.github.com/Epic-Codebase/Airbnb_clone_django_drf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-Codebase%2FAirbnb_clone_django_drf/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264247260,"owners_count":23579053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airbnb-clone","cicd","depl","deployment","django","django-channels","djanogo-rest-framework","docker","docker-compose","javascript","nextjs","python","react","web-application","web-development"],"created_at":"2025-03-05T07:33:33.012Z","updated_at":"2026-04-12T06:35:01.555Z","avatar_url":"https://github.com/Epic-Codebase.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏡 Airbnb Clone API Backend 🛠\n\nWelcome to the Airbnb Clone API Backend, a 📈 scalable and 🔒 secure backend solution for an Airbnb-like 🏠 application, built using Django Rest Framework (DRF) 🧑‍💻. This project provides a ✨ feature-rich ✨ API to manage properties, bookings, user authentication, and more.\n\n## 🔍 Features\n\n- **🔐 User Authentication**: Secure 🚀 user registration \u0026 login.\n- **📝 Property Categorization**: Classify properties as 🏖️ Beach, 🏡 Villas, 🏠 Cabins, and 🏰 Tiny Homes.\n- **📚 Property Management**: 💼 Create, update \u0026 manage properties.\n- **📅 Booking System**: Book properties 🏨 for specific date ranges.\n- **🛋️ User Listings**: View 🏢 hosted properties.\n- **🔍 Property Search**: Search 🔎 based on location, dates \u0026 guests.\n- **💬 Real-time Chat**: Chat 🛡️ with property owners after booking.\n\n## 📚 Project Structure\n\n```\nAirbnb_clone_django_drf/\n├── djangobnb_backend/\n│   ├── djangobnb_backend/  # ⚙ Django project settings\n│   ├── apps/\n│   │   ├── useraccount/  # 👤 User authentication \u0026 profiles\n│   │   ├── property/  # 🏠 Property listings\n│   │   ├── booking/  # 📅 Bookings \u0026 reservations\n│   │   ├── chat/  # 💬 Chat system\n│   ├── templates/\n│   ├── static/\n├── nginx/  # 🌐 Nginx configuration\n├── .env.dev  # 🔐 Environment variables\n├── .gitignore  # 🚫 Ignore files in Git\n├── LICENSE  # 📜 License file\n├── README.md  # 📖 Documentation\n├── docker-compose.prod.yml  # 🐳 Production Docker setup\n├── docker-compose.yml  # 🐳 Development Docker setup\n```\n\n## 🚀 Getting Started\n\nTo get started with this project, follow these steps:\n\n### 🔧 Prerequisites\n\n- **🐳 Docker**: Install Docker from [here](https://www.docker.com/get-started).\n\n### 🛠 Installation\n\n1. **📥 Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/Epic-Codebase/Airbnb_clone_django_drf.git\n   cd Airbnb_clone_django_drf\n   ```\n\n2. **📄 Set Up Environment Variables**:\n\n   - Create a `.env.dev` file in the root directory.\n   - Add necessary environment variables as required.\n\n3. **🏗 Build and Run Docker Containers**:\n\n   - For **development**:\n     ```bash\n     docker-compose up --build\n     ```\n   - For **production**:\n     ```bash\n     docker-compose -f docker-compose.prod.yml up --build\n     ```\n\n4. **🔄 Apply Migrations**:\n\n   ```bash\n   docker-compose exec web python manage.py migrate\n   ```\n\n5. **👤 Create a Superuser**:\n\n   ```bash\n   docker-compose exec web python manage.py createsuperuser\n   ```\n\n6. **📂 Collect Static Files**:\n\n   ```bash\n   docker-compose exec web python manage.py collectstatic --no-input --clear\n   ```\n\nNow, the application should be running at **`http://localhost:8000/`** 🚀\n\n## 🔗 API Endpoints\n\n### 👥 User Authentication\n\n- `POST /api/auth/register/` → Register a user.\n- `POST /api/auth/login/` → Login.\n- `POST /api/auth/logout/` → Logout.\n\n### 🏠 Property Management\n\n- `GET /api/properties/` → List properties.\n- `POST /api/properties/` → Create a property.\n- `GET /api/properties/{id}/` → Get property details.\n- `PUT /api/properties/{id}/` → Update property.\n- `DELETE /api/properties/{id}/` → Delete property.\n\n### 📅 Booking Management\n\n- `GET /api/bookings/` → List bookings.\n- `POST /api/bookings/` → Create booking.\n- `GET /api/bookings/{id}/` → Get booking details.\n- `PUT /api/bookings/{id}/` → Update booking.\n- `DELETE /api/bookings/{id}/` → Cancel booking.\n\n### 💬 Chat\n\n- `GET /api/chat/` → Get chat messages.\n- `POST /api/chat/` → Send a message.\n\n## 🛠 Technologies Used\n\n- **🐍 Django**: Python web framework.\n- **⚡ DRF**: API toolkit for Django.\n- **🐘 PostgreSQL**: Database.\n- **🐳 Docker**: Containerization.\n- **🌐 Nginx**: Reverse proxy.\n\n## 🤝 Contributing\n\nContributions are welcome! ✨ Follow these steps:\n\n1. **Fork** the repository.\n2. **Create a new branch** (`git checkout -b feature/YourFeature`).\n3. **Commit your changes** (`git commit -m 'Add YourFeature'`).\n4. **Push to the branch** (`git push origin feature/YourFeature`).\n5. **Open a Pull Request** 🚀.\n\n## 📜 License\n\nLicensed under **Apache-2.0**. See [LICENSE](https://github.com/Epic-Codebase/Airbnb_clone_django_drf/blob/main/LICENSE) 📃.\n\n## 🎉 Acknowledgements\n\nBig thanks to the **Django \u0026 DRF** communities for their amazing contributions! ❤️\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepic-codebase%2Fairbnb_clone_django_drf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepic-codebase%2Fairbnb_clone_django_drf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepic-codebase%2Fairbnb_clone_django_drf/lists"}