{"id":25012503,"url":"https://github.com/bibekaryal86/pets-service","last_synced_at":"2026-04-17T07:33:25.416Z","repository":{"id":44913674,"uuid":"437431818","full_name":"bibekaryal86/pets-service","owner":"bibekaryal86","description":"Springboot Rest API for business logic","archived":false,"fork":false,"pushed_at":"2025-11-19T04:14:14.000Z","size":385,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-19T05:32:28.497Z","etag":null,"topics":["gcloud","gcp","gradle","java","rest-api","spring-security","springboot","swagger","swagger2"],"latest_commit_sha":null,"homepage":"https://pets-service.appspot.com/pets-service/tests/ping","language":"Java","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/bibekaryal86.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-12-12T02:04:55.000Z","updated_at":"2025-11-19T03:57:08.000Z","dependencies_parsed_at":"2023-12-22T04:26:51.242Z","dependency_job_id":"a107bbad-c65e-4a1a-a34c-a68f8590d92b","html_url":"https://github.com/bibekaryal86/pets-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bibekaryal86/pets-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fpets-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fpets-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fpets-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fpets-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bibekaryal86","download_url":"https://codeload.github.com/bibekaryal86/pets-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fpets-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31920173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["gcloud","gcp","gradle","java","rest-api","spring-security","springboot","swagger","swagger2"],"created_at":"2025-02-05T06:16:38.222Z","updated_at":"2026-04-17T07:33:25.381Z","avatar_url":"https://github.com/bibekaryal86.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pets-service\n\nThis REST API is implemented to execute business logic for the web application. This app takes request from the UI,\ncalls pets-database if needed and processes the information to return the result to the UI.\n\nTo run the app, we need to supply the following environment variables:\n\n* Active Profile\n    * SPRING_PROFILES_ACTIVE (development, docker, production)\n* Application security details:\n    * BASIC_AUTH_PWD (username to enforce spring security)\n    * BASIC_AUTH_USR (password to enforce spring security)\n* MongoDB Database Details:\n    * BASIC_AUTH_PWD_PETSDATABASE (auth username of pets-database)\n    * BASIC_AUTH_USR_PETSDATABASE (auth password of pets-database)\n* The final run command looks like this:\n    * java -jar -DSPRING_PROFILES_ACTIVE=development -DBASIC_AUTH_USR=some_username -DBASIC_AUTH_PWD=some_password\n      -DBASIC_AUTH_PWD_PETSDATABASE=another_username -DBASIC_AUTH_USR_PETSDATABASE=another_password JARFILE.jar\n\nThis app is one of the five apps that form the PETS (Personal Expenses Tracking System) application:\n\n* https://github.com/bibekaryal86/pets-database\n* https://github.com/bibekaryal86/pets-service (this)\n* https://github.com/bibekaryal86/pets-authenticate\n* https://github.com/bibekaryal86/pets-gateway\n* https://github.com/bibekaryal86/pets-spa\n\nThis app is deployed in Google Cloud Project. The GCP configurations are found in the `gcp` folder in the project root.\nTo deploy to GCP, we need to copy the jar file to that folder and use gcloud app deploy terminal command.\n\n* App Test Link: https://pets-service.appspot.com/pets-service/tests/ping\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbibekaryal86%2Fpets-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbibekaryal86%2Fpets-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbibekaryal86%2Fpets-service/lists"}