{"id":18035429,"url":"https://github.com/ggturan/pet-care-server","last_synced_at":"2026-04-09T15:46:11.983Z","repository":{"id":258659454,"uuid":"864570464","full_name":"GGTuran/pet-care-server","owner":"GGTuran","description":"This system is designed to provide peace of mind for both users and pet managers while fostering deeper connections with animals.","archived":false,"fork":false,"pushed_at":"2024-10-17T17:37:21.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T07:45:02.679Z","etag":null,"topics":["aamarpay","cloudinary","config","eslint","expressjs","jwt","mongoose","multer-storage","nodejs","nodemailer","prettier-eslint","typescript","zod"],"latest_commit_sha":null,"homepage":"https://pet-care-server-eight.vercel.app/","language":"TypeScript","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/GGTuran.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-09-28T15:16:40.000Z","updated_at":"2024-10-17T17:37:25.000Z","dependencies_parsed_at":"2024-10-20T02:16:43.494Z","dependency_job_id":null,"html_url":"https://github.com/GGTuran/pet-care-server","commit_stats":null,"previous_names":["ggturan/pet-care-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GGTuran%2Fpet-care-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GGTuran%2Fpet-care-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GGTuran%2Fpet-care-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GGTuran%2Fpet-care-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GGTuran","download_url":"https://codeload.github.com/GGTuran/pet-care-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247263397,"owners_count":20910397,"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":["aamarpay","cloudinary","config","eslint","expressjs","jwt","mongoose","multer-storage","nodejs","nodemailer","prettier-eslint","typescript","zod"],"created_at":"2024-10-30T12:07:31.187Z","updated_at":"2025-12-30T19:07:45.090Z","avatar_url":"https://github.com/GGTuran.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Pawprints \u0026 Tales provides a comprehensive backend server to manage and rent pets, ensuring a seamless experience for pet owners and enthusiasts. This system allows users to rent pets for a period, with flexible return options and secure payments, making it ideal for fostering or short-term pet care needs. It’s especially beneficial for those who love animals but cannot commit long-term.The server offers exciting features such as robust authentication and authorization to secure user data, admin-controlled pet management to ensure proper care and availability, and a streamlined rental process. This system is designed to provide peace of mind for both users and pet managers while fostering deeper connections with animals.\n\n## Live URL\n\n[Live link](https://pet-care-server-eight.vercel.app/)\n\n## Features\n\n- **User Authentication**: Users can sign up, log in.\n- **News Feed Management**: Only an admin and user will be able to create posts and also can update those.Everyone can see all the posts.\n- **Payment Management**: An user can pay for premium posts allowing them to see all premium posts.\n\nTechnology Stack:\n\n- Programming Language: TypeScript\n- Web Framework: Express.js\n- Database: MongoDB(Mongoose for ODM)\n- Validation Library: Zod\n- Authentication \u0026 Authorization : JSON Web Token\n- Payment : aamarpay\n- Deployment : Vercel\n\nThe api has the following endpoints:\nAPI Endpoints:\n\n- /api/auth\n- /api/users\n- /api/post\n- /api/comment\n\n### Prerequisites\n\n- Node.js (v14 or higher)\n- MongoDB\n\n## Clone the repository\n\n**Follow this simple step to clone the project:**\n\n```bash\ngit clone  https://github.com/GGTuran/pet-care-server\ncd pet-care-server\n```\n\n**Now install the dependencies of the project:**\n\n```bash\nnpm install\n```\n\n## Set up the server\n\n**Set up the environment variables in .env file**\n\n```\nPORT = 5000\nDATABASE_URL=your_own_mongodb_uri\nBCRYPT_SALT_ROUNDS= any number\nJWT_ACCESS_SECRET= Your JWT Secret\nJWT_ACCESS_EXPIRES= Your Jwt Token Expire time\nSTORE_ID = Your aamarpay store id\nSIGNATURE_KEY = Your aamarpay signature key\nPAYMENT_URL = aamarpay base url for payment\nPAYMENT_VERIFY_URL = aamarpay base url for verifying transaction id\nRESET_PASS_UI_LINK = http://localhost:3000\nAPP_PASS = your google app password\nCLOUDINARY_CLOUD_NAME = your cloudinary cloud name\nCLOUDINARY_API_KEY = your cloudinary api key\nCLOUDINARY_API_SECRET = your cloudinary api secret\n```\n\n**You can compile typescript**\n\n```\nnpm run build\n```\n\n## Start the server\n\n**You can run the server in development mode**\n\n```\nnpm run start:dev\n```\n\n**Or you can start the server by running the js files which is recommended**\n\n```\nnpm run start:prod\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggturan%2Fpet-care-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fggturan%2Fpet-care-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggturan%2Fpet-care-server/lists"}