{"id":25012522,"url":"https://github.com/bibekaryal86/pets-database","last_synced_at":"2026-04-05T21:32:29.080Z","repository":{"id":44913682,"uuid":"437414764","full_name":"bibekaryal86/pets-database","owner":"bibekaryal86","description":"SpringBoot Rest API with MongoDb for CRUD functions","archived":false,"fork":false,"pushed_at":"2025-11-18T04:11:14.000Z","size":340,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-18T05:34:15.191Z","etag":null,"topics":["gradle","java","mongodb","mongotemplate","spring","spring-security","springboot","swagger","swagger2"],"latest_commit_sha":null,"homepage":"https://pets-database.appspot.com/pets-database/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-11T23:59:12.000Z","updated_at":"2025-11-18T03:52:04.000Z","dependencies_parsed_at":"2024-02-05T04:29:14.938Z","dependency_job_id":"eb7941aa-3f10-4f3a-81b2-aae24e01968c","html_url":"https://github.com/bibekaryal86/pets-database","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bibekaryal86/pets-database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fpets-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fpets-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fpets-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fpets-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bibekaryal86","download_url":"https://codeload.github.com/bibekaryal86/pets-database/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fpets-database/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31451439,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"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":["gradle","java","mongodb","mongotemplate","spring","spring-security","springboot","swagger","swagger2"],"created_at":"2025-02-05T06:16:40.936Z","updated_at":"2026-04-05T21:32:29.050Z","avatar_url":"https://github.com/bibekaryal86.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pets-database\n\nThis REST API is implemented to execute CRUD functions in MongoDB. There are no business logic in this service, it is\nlimited to model and CRUD functions only.\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_USR (username to enforce spring security)\n    * BASIC_AUTH_PWD (password to enforce spring security)\n* MongoDB Database Details:\n    * MONGODB_ACC_NAME (mongodb collection name)\n    * MONGODB_USR_NAME (mongodb username)\n    * MONGODB_USR_PASSWORD (mongodb password)\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      -DMONGODB_ACC_NAME=account_name -DMONGODB_USR_NAME=another_username -DMONGODB_USR_PWD=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 (this)\n* https://github.com/bibekaryal86/pets-service\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-database.appspot.com/pets-database/tests/ping\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbibekaryal86%2Fpets-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbibekaryal86%2Fpets-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbibekaryal86%2Fpets-database/lists"}