{"id":20954443,"url":"https://github.com/sumit1921184/petpals","last_synced_at":"2026-02-14T18:01:40.600Z","repository":{"id":229867076,"uuid":"776870798","full_name":"sumit1921184/PetPals","owner":"sumit1921184","description":"PetPals aimed to create an inclusive community for pet lovers, offering a platform where users can adopt pets, find information on pet care, and connect with other pet owners. Our choice to develop this website stems from a recognized need for a dedicated space where potential pet owners can find the right companion while ensuring pets find","archived":false,"fork":false,"pushed_at":"2024-12-18T09:46:18.000Z","size":4669,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T04:32:44.601Z","etag":null,"topics":["chakra-ui","express-js","git","material-ui","mongodb","nodejs","reactjs","render","restful-api","tailwindcss"],"latest_commit_sha":null,"homepage":"https://petpals-masai.vercel.app/","language":"JavaScript","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/sumit1921184.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":"2024-03-24T17:13:54.000Z","updated_at":"2024-12-18T09:46:22.000Z","dependencies_parsed_at":"2024-04-21T15:11:41.556Z","dependency_job_id":null,"html_url":"https://github.com/sumit1921184/PetPals","commit_stats":null,"previous_names":["sumit1921184/petpals"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sumit1921184/PetPals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumit1921184%2FPetPals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumit1921184%2FPetPals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumit1921184%2FPetPals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumit1921184%2FPetPals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumit1921184","download_url":"https://codeload.github.com/sumit1921184/PetPals/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumit1921184%2FPetPals/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29451907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["chakra-ui","express-js","git","material-ui","mongodb","nodejs","reactjs","render","restful-api","tailwindcss"],"created_at":"2024-11-19T01:14:42.423Z","updated_at":"2026-02-14T18:01:40.583Z","avatar_url":"https://github.com/sumit1921184.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  [PetPals](https://petpals-masai.vercel.app/)\n\n\n## Introduction\n\nPetPals aimed to create an inclusive community for pet lovers, offering a platform where users can adopt pets, find information on pet care, and connect with other pet owners. Our choice to develop this website stems from a recognized need for a dedicated space where potential pet owners can find the right companion while ensuring pets find.\n\n## Project Type\n\n- **Full Stack**\n\n## Deployed App\n [PetPals](https://petpals-masai.vercel.app/)\n\n## Directory Structure\n```\nmy-app/\n├─ backend/\n│  ├─ config/\n│  │  └─ db.js\n│  ├─ middleware/\n│  │  ├─ access.middleware.js\n│  │  └─ auth.middleware.js\n│  ├─ model/\n│  │  ├─ application.model.js\n│  │  ├─ blacklist.model.js\n│  │  ├─ pet.model.js\n│  │  └─ user.model.js\n│  ├─ routes/\n│  │  ├─ application.routes.js\n│  │  ├─ pet.routes.js\n│  │  └─ user.routes.js\n│  └─ index.js\n└─ frontend/\n   ├─ src/\n   │  ├─ assets/\n   │  │  └─ img/\n   │  ├─ Components/\n   │  │  ├─ Article.js\n   │  │  ├─ FirstDiv.jsx\n   │  │  │  ├─ Footer.jsx\n   │  │  ├─ LoginForm.js\n   │  │  ├─ Menu.jsx\n   │  │  ├─ Navbar.jsx\n   │  │  ├─ Review.js\n   │  │  └─ SignUp.jsx\n   │  ├─ CSS/\n   │  │  ├─ Application.css\n   │  │  ├─ Article.css\n   │  │  ├─ Login.css\n   │  │  ├─ Navbar.css\n   │  │  ├─ Review.css\n   │  │  └─ Signup.css\n   │  ├─ Pages/\n   │  │  ├─ About.jsx\n   │  │  ├─ Adopt.jsx\n   │  │  ├─ Contact.jsx\n   │  │  ├─ Homepage.jsx\n   │  │  ├─ Login.jsx\n   │  │  ├─ MyApplication.jsx\n   │  │  └─ Signup.jsx\n   │  ├─ Redux/\n   │  │  ├─ action.js\n   │  │  ├─ actionTypes.js\n   │  │  ├─ reducer.js\n   │  │  └─ store.js\n   │  ├─ Routing/\n   │  │  ├─ AllRoutes.jsx\n   │  │  └─ PrivateRouting.jsx\n   │  ├─ App.jsx\n   │  ├─ main.jsx\n   │  ├─ api.js\n   │  └─ index.html\n   └─ Readme.md\n\n```\n\n\n## Video Walkthrough\n\n\n\nhttps://github.com/heyyrahul/vivid-roll-405/assets/79692865/75322f54-30ab-4262-ab2b-dd15eeacd9fb\n\n\n\n\n\n\n\n\n- **Codebase Walkthrough:** [1-5 minutes video link]\n\n## Features\n\n- **Dynamic searching for pets:** Advanced search and filters features for searching pets.\n- **Responsive Design:** Mobile-first, responsive design for a consistent cross-device experience.\n- **Streamlined Checkout:** Simplified one-page checkout process to enhance user satisfaction.\n- **Admin Panel:** Admin panel to handle backend and do basics crud operation.\n\n## Design Decisions and Assumptions\n\n### Design Decisions\n\n- **React and Context API for State Management:** Chose React for its component-based architecture, facilitating reusable UI components, and Context API to manage global state like the \nfetching pets ensuring a seamless user experience across the application.\n- **Integration of viewing status of an application:** Implemented a fetures to view the applicatioin status of applied application.\n\n### Assumptions\n\n\n\n- **Simplified Adoption Process:** Assumed users prefer a fast and hassle-free adoption process, leading to the implementation of a streamlined adoption process to reduce steps and potential friction points.\n\n- **Expectation of Real-time Updates:** Anticipated that users expect immediate feedback and updates within the adoption process, influencing the decision to implement real-time status updates on available pets and adoption requests, enhancing the overall adoption experience.\n\n## Installation \u0026 Getting Started\n\nQuickly set up and start the project with these steps:\n\n1. **Install the Project:**\n   Clone and install the project's dependencies:\n   ```bash\n   git clone https://github.com/sumit1921184/PetPals.git\n   for backend\n   cd backend\n   npm install\n\n   for frontend\n   cd frontend\n   npm install\n## Credentials\n## For Users\n\nProvide user credentials for authenticated pages:\n\n- **URL:** [https://petpals-masai.vercel.app/login](https://petpals-masai.vercel.app/login)\n- **User Login:** virat@gmail.com\n- **Password:** virat\n\n## For Admin\n- **URL:** [https://pet-pals-admin.vercel.app/](https://pet-pals-admin.vercel.app/)\n- **Admin Login:** \n- **Password:**\n## APIs Used\n\nIf your application relies on external APIs, document them and include any necessary links or references.\n\n- **API Base URL:** [https://petpals-2-261d.onrender.com/](https://petpals-2-261d.onrender.com/)\n\n## API Endpoints\n\nPets\n- `/pets/:id` - Retrieve a specific pet by its ID.\n- `GET /pets` - Retrieve all available pets with optional pagination.\n- `POST` /pets - Add a new pet (requires admin access).\n- `PATCH /pets/:id` - Update details of a pet with the specified ID (requires admin access).\n- `DELETE /pets/:id` - Delete a pet with the specified ID (requires admin access).\n- `Users`\n- `POST /users/register` - Register a new user.\n- `POST /users/login` - Login a user.\n- `POST /users/logout` - Logout a user.\n- `GET /users` - Retrieve all users (requires admin access).\n- `GET /users/:id` - Retrieve a specific user by ID (requires admin access).\n- `DELETE /users/:id` - Delete a user by ID (requires admin access).\n- `PATCH /users/:id` - Update user details by ID (requires admin access).\nApplications\n- `POST /applications/:petId` - Apply for adopting a pet with the specified ID.\n- `GET /applications` - Retrieve all applications (requires admin access).\n- `PATCH /applications/update/:id` - Update details of an application with the specified ID (requires admin access).\n- `DELETE /applications/delete/:id` - Delete an application with the specified ID (requires admin access).\n- `GET /applications/getApp` - Retrieve applications of the authenticated user.\n## Technology Stack\n **Frontend:**\n- **React:** For building the user interface.\n- **Chakra UI:** for making componenets.\n- **Tailwind CSS:** For styling.\n- **React redux:** For managing state.\n\n**Backend:**\n- **Mongodb:** For database.\n- **Node Js:** For backend.\n- **Express Js** For making routes.\n\n## ScreenShots  \n\n## Home Page\n![home](https://github.com/heyyrahul/vivid-roll-405/assets/79692865/ec272e88-8d0e-4a28-b335-a5cac7915d52)\n\n## Login\n![login](https://github.com/heyyrahul/vivid-roll-405/assets/79692865/a8d4f475-ea27-46b5-82be-d82a4b4b95df)\n\n## Signup\n![signup](https://github.com/heyyrahul/vivid-roll-405/assets/79692865/61afe689-8613-42a2-98dd-4f19b69c6c72)\n## Adopt\n![adopt](https://github.com/heyyrahul/vivid-roll-405/assets/79692865/5f45f8e4-8218-4e21-94ff-0709619cdf98)\n## Application Page\n![application](https://github.com/heyyrahul/vivid-roll-405/assets/79692865/aaa48f25-4013-40e2-bf1c-f49f993123d0)\n## Admin Login\n![localhost_5173_adminlogin (1)](https://github.com/heyyrahul/PetPalsAdmin/assets/79692865/a6da65b4-2c78-46bd-b809-b5c9667fc4ec)\n\n## Admin Dashboard\n![admin Dashboard](https://github.com/heyyrahul/vivid-roll-405/assets/79692865/2474fe9d-6725-4939-9bfd-d3856fa6d29d)\n## Admin Pet Page\n![admin pet page](https://github.com/heyyrahul/vivid-roll-405/assets/79692865/87d27a60-7654-41cf-8b25-5a6c5cb8c957)\n\n## Admin Pet\u0026User Add Page\n![admin pet and user add page](https://github.com/heyyrahul/vivid-roll-405/assets/79692865/0668e461-7d7b-4772-b54c-f94655ce6ec6)\n\n\n## Admin Users Page\n![admin userlist](https://github.com/heyyrahul/vivid-roll-405/assets/79692865/f04d4b35-6fe7-494a-bc70-4eddbc107f8f)\n\n## Contributors\n## [Sumit Kumar Jha](https://www.linkedin.com/in/sumit-kumar-jha-050156217/)\n## [Rahul Kumar](https://www.linkedin.com/in/heyyrahul/)\n## [Anshu Kumari](https://www.linkedin.com/in/anshu-kumari-5a4806193/)\n## [Sachin Mohite](https://www.linkedin.com/in/sachin-mohite-0893a7203/)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumit1921184%2Fpetpals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumit1921184%2Fpetpals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumit1921184%2Fpetpals/lists"}