{"id":26847708,"url":"https://github.com/cybergeist0/purrfect","last_synced_at":"2026-05-11T03:20:55.100Z","repository":{"id":285245922,"uuid":"957502975","full_name":"cybergeist0/Purrfect","owner":"cybergeist0","description":"The ultimate pet adoption platform","archived":false,"fork":false,"pushed_at":"2025-03-30T14:55:33.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T15:30:21.072Z","etag":null,"topics":["js","pets","php","sql"],"latest_commit_sha":null,"homepage":"https://ihscs.org/purrfect","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cybergeist0.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-03-30T14:35:52.000Z","updated_at":"2025-03-30T14:55:35.000Z","dependencies_parsed_at":"2025-03-30T15:40:49.648Z","dependency_job_id":null,"html_url":"https://github.com/cybergeist0/Purrfect","commit_stats":null,"previous_names":["cybergeist0/purrfect"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybergeist0%2FPurrfect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybergeist0%2FPurrfect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybergeist0%2FPurrfect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybergeist0%2FPurrfect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cybergeist0","download_url":"https://codeload.github.com/cybergeist0/Purrfect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246374702,"owners_count":20766943,"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":["js","pets","php","sql"],"created_at":"2025-03-30T20:23:33.866Z","updated_at":"2026-05-11T03:20:55.032Z","avatar_url":"https://github.com/cybergeist0.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Purrfect\n*This project won 2 awards: 3rd place and best theme* \n\n### Features:\n  - A pet adoption website where users match with adoptable pets.\n  - Users can create an account, log in, and save pets to their favorites.\n  - Users can click an \"Adopt\" icon to be redirected to a pet's adoption link.\n  - The website features a playful, lighthearted theme.\n\n### Future Features:\n- Integration of APIs and web scrapers to automatically populate the pet database.\n- Collaboration with animal shelters to get more accurate pet details and images.\n- Ability for users to host fundraisers to help with clinic expenses.\n\n---\n\n## Getting Started\n\nFollow the steps below to get the project up and running locally using **XAMPP**.\n\n### Prerequisites\n- **XAMPP** installed on your system.\n- A basic understanding of  **JavaScript**.\n\n### Installation\n\n1. Clone this repository to your local machine:\n\n2. Install **XAMPP** (if you don't have it installed already). You can download it from [here](https://www.apachefriends.org/index.html).\n\n3. Put this folder in the `htdocs` folder in XAMPP\n\n4. Start **XAMPP** and launch the **Apache** and **MySQL** server to run the web app.\n\n5. Configure the **MySQL** server with the following commands:\n```SQL\n-- Create the database\nCREATE DATABASE IF NOT EXISTS purrfect_db;\nUSE purrfect_db;\n\n-- Users table\nCREATE TABLE IF NOT EXISTS users (\n    id INT AUTO_INCREMENT PRIMARY KEY,\n    username VARCHAR(50) UNIQUE NOT NULL,\n    password VARCHAR(255) NOT NULL\n);\n\n-- Pets table with an adoption link and added_by user ID\nCREATE TABLE IF NOT EXISTS pets (\n    id INT AUTO_INCREMENT PRIMARY KEY,\n    name VARCHAR(100) NOT NULL,\n    age VARCHAR(20) NOT NULL,\n    breed VARCHAR(100) NOT NULL,\n    personality TEXT NOT NULL,\n    bio TEXT NOT NULL,\n    image VARCHAR(255) NOT NULL,         -- now holds an image URL\n    adoption_link VARCHAR(255) NOT NULL,\n    added_by INT,\n    FOREIGN KEY (added_by) REFERENCES users(id) ON DELETE CASCADE\n);\n\n-- Favorites table\nCREATE TABLE IF NOT EXISTS favorites (\n    user_id INT,\n    pet_id INT,\n    PRIMARY KEY (user_id, pet_id),\n    FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE,\n    FOREIGN KEY (pet_id) REFERENCES pets(id) ON DELETE CASCADE\n);\n\n```\n\n### Usage\n\n- To add pets, log in to the website and use the **Add Pet** feature. Ensure you upload an image and fill in the required information like breed, age, and personality.\n- Swipe through pets, and save your favorites by clicking the **heart** icon.\n- Once you are ready to adopt, click the **Adopt** button to be redirected to the pet's adoption link (currently a placeholder).\n\n---\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybergeist0%2Fpurrfect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybergeist0%2Fpurrfect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybergeist0%2Fpurrfect/lists"}