{"id":25651083,"url":"https://github.com/sachin2501/pglife_with-_react","last_synced_at":"2026-04-12T17:38:42.375Z","repository":{"id":278899228,"uuid":"937092810","full_name":"Sachin2501/PGLife_with-_react","owner":"Sachin2501","description":"🚀 PGLife - Find the Best PGs Easily! A PHP \u0026 MySQL-based web app that helps students and professionals find PG (Paying Guest) accommodations in different cities.","archived":false,"fork":false,"pushed_at":"2025-02-22T11:34:08.000Z","size":7616,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T12:25:58.504Z","etag":null,"topics":["bootstrap","dbms","html-css-javascript","php7","reactjs","webdevelopment"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sachin2501.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-22T10:14:16.000Z","updated_at":"2025-02-22T11:45:56.000Z","dependencies_parsed_at":"2025-02-22T12:36:24.778Z","dependency_job_id":null,"html_url":"https://github.com/Sachin2501/PGLife_with-_react","commit_stats":null,"previous_names":["sachin2501/pglife_with-_react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin2501%2FPGLife_with-_react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin2501%2FPGLife_with-_react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin2501%2FPGLife_with-_react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin2501%2FPGLife_with-_react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sachin2501","download_url":"https://codeload.github.com/Sachin2501/PGLife_with-_react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240339582,"owners_count":19785957,"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":["bootstrap","dbms","html-css-javascript","php7","reactjs","webdevelopment"],"created_at":"2025-02-23T16:17:28.844Z","updated_at":"2026-04-12T17:38:42.310Z","avatar_url":"https://github.com/Sachin2501.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏠 PGLife - Find the Best PGs Easily!\n\nPGLife is a **PHP \u0026 MySQL-based** web application that helps students and professionals find **PG (Paying Guest) accommodations** easily in different cities.\n\n---\n\n## 🚀 Features\n✅ **User Authentication** – Login \u0026 Signup System  \n✅ **PG Listings** – View available PGs by city  \n✅ **Advanced Search \u0026 Filters** – Find the perfect PG based on preferences  \n✅ **PG Details Page** – View details, images, and reviews  \n✅ **Booking \u0026 Contact Option** – Users can book or contact the owner  \n✅ **Admin Panel** – Manage PG listings and users  \n\n---\n\n## 🛠 Technologies Used\n- **Frontend:** HTML, CSS, Bootstrap  \n- **Backend:** PHP (Core PHP)  \n- **Database:** MySQL  \n- **Server:** Apache (XAMPP / LAMP)  \n\n---\n\n## 🏗 Installation Guide\n\n### **1️⃣ Clone the Repository**\n```sh\ngit clone https://github.com/Sachin2501/PGLife_with-_react.git\n```\n---\n2️⃣ Setup MySQL Database\n1. Open phpMyAdmin 👉 http://localhost/phpmyadmin/\n2. Create a new database named pglife\n3. Go to the Import section\n4. Click Choose File and select ``pglife.sql`` (inside the project folder)\n5. Click Go to import the database\n6. ✅ Done! Your MySQL database is now set up 🎉\n---\n\n3️⃣ Configure Database Connection\n\nEdit the file ``includes/database_connect.php`` and update the database connection:\n```\n$conn = mysqli_connect(\"localhost\", \"root\", \"\", \"pglife\");\n```\nIf you're using XAMPP, use:\n```\n$conn = mysqli_connect(\"127.0.0.1\", \"root\", \"\", \"pglife\");\n```\nSave the file and restart Apache/MySQL in XAMPP. ✅\n---\n4️⃣ Start the Project\n1. Start Apache \u0026 MySQL in XAMPP\n2. Open your browser and go to:\n```\nhttp://localhost/PGLife/\n```\n🎉 Enjoy using PGLife!\n\n---\n\n🌎 Deployment Guide\nDeploy on Render (Free Cloud Hosting)\n1. Create a free account on ``Render``\n2. Click on \"New Web Service\"\n3. Connect your GitHub repository\n4. Set Environment = PHP 8.x\n5. Configure MySQL Database \u0026 Update ``database_connect.php``\n6. Click Deploy ✅\n\nFor other deployment methods, check the Deployment Guide.\n--- \n📸 Screenshots\n🏠 Homepage\n🔍 PG Listings\n---\n🤝 Contributing\nWant to improve PGLife? Follow these steps:\n\n1. Fork this repository\n2. Create a new branch`` (feature-branch)``\n3. Make changes and commit\n4. Submit a Pull Request (PR)\n   \n---\n📧 Contact\nFor any queries or support ,feel free to contact: 📧 Email: sachinkumar.gheura@gmail.com\n\n🔗 Live Demo: pglife.example.com 🚀\n---\n\n### **📌 Step 3: Save \u0026 Push to GitHub**  \nAfter adding this content, save the `README.md` file and push it to GitHub:\n\n```sh\n1. git add README.md\n2. git commit -m \"Added README documentation\"\n3. git push origin main  # or your branch name\n```\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachin2501%2Fpglife_with-_react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsachin2501%2Fpglife_with-_react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachin2501%2Fpglife_with-_react/lists"}