{"id":46739561,"url":"https://github.com/mariobgsp/payment-system","last_synced_at":"2026-03-09T17:18:06.928Z","repository":{"id":205741931,"uuid":"661580896","full_name":"mariobgsp/payment-system","owner":"mariobgsp","description":"payment system for portofolio as backend developer on e-payment team","archived":false,"fork":false,"pushed_at":"2024-08-12T10:58:48.000Z","size":24936,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-13T06:31:32.734Z","etag":null,"topics":["golang","java","kafka","microservices","mongo","portofolio","postgresql","redis","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Java","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/mariobgsp.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":"2023-07-03T07:39:43.000Z","updated_at":"2024-08-12T10:58:45.000Z","dependencies_parsed_at":"2024-08-11T06:40:16.871Z","dependency_job_id":null,"html_url":"https://github.com/mariobgsp/payment-system","commit_stats":null,"previous_names":["mariobgsp/ms-java"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mariobgsp/payment-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariobgsp%2Fpayment-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariobgsp%2Fpayment-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariobgsp%2Fpayment-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariobgsp%2Fpayment-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mariobgsp","download_url":"https://codeload.github.com/mariobgsp/payment-system/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariobgsp%2Fpayment-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30304188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"last_error":"SSL_read: 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":["golang","java","kafka","microservices","mongo","portofolio","postgresql","redis","rest-api"],"created_at":"2026-03-09T17:18:06.430Z","updated_at":"2026-03-09T17:18:06.914Z","avatar_url":"https://github.com/mariobgsp.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# payment-system\n\n## Overview\nRepository that containing multiple microservices for payment system. This repository containing:\n* ms-logger microservices that handles log of any service action such as order, inquiry, and payment\n* ms-order microservices that handles product inquiry and order\n* ms-payment microservices that handles product payment\n* ms-paymentagr dummy microservice using golang and redis for payment (payment partner example)\n* ms-invoice provisions by generating document report\n\n## Tech Stack\nTech stack being use in this repository\n* Java Spring 17 - Main framework\n* Postgre SQL - JDBC Connectivity - Main Database\n* Mongo DB - NOSQL - Logger Database\n* Kafka - Event Publisher for ms-logger and any other services\n* Docker - Containerization and deploying service at once (excluding ms-paymentagr) using compose\n* Go - As another language for microservices, used at ms-paymentagr\n* Redis - Temp database for Go Microservices\n\n## Design\n* [Sequence Diagram Design](https://github.com/mariobgsp/ms-java/blob/master/payment-system-sequence-diagram.png \"Sequence Diagram Design\")\n* [Payment System Diagram](payment-system-sequence-diagram \"Payment System Diagram\")\n\n\n## Getting Started\n\n### 1. Clone the Repository\n\nStart by cloning the repository to your local machine:\n\n```bash\ngit clone https://github.com/mariobgsp/payment-system.git\n```\n\nNavigate to the project directory:\n\n```bash\ncd payment-system\n```\n\n### 2. Navigate to the Project Directory\n\nEnsure you are in the correct directory where the \\`docker-compose.yml\\` file is located:\n\n```bash\ncd projects\n```\n\n### 3. Build and Start the Containers\n\nUse Docker Compose to build the images and start the containers:\n\n```bash\ndocker-compose up --build\n```\n\nThis command will:\n\n- Build the Docker images as defined in the \\`docker-compose.yml\\` file.\n- Start all the services defined in the file.\n\n### 4. Accessing the Services\n\nOnce the containers are up and running, you can access the services:\n\n- **ms-logger**: [http://localhost:8080](http://localhost:8080).\n- **ms-order**: [http://localhost:1337](http://localhost:1337).\n- **ms-payment**: [http://localhost:9090](http://localhost:9090).\n- **ms-paymentagr**: [http://localhost:8081](http://localhost:8081).\n- **ms-invoice**: [http://localhost:8082](http://localhost:8082).\n\nApi Documentation:\nms-order and ms-payment documentation: [API Documentation: payment-system](https://www.notion.so/mariobgsp/API-Documentation-payment-sistem-d422ba229b184210af6b865ec8991ffd?pvs=4 \"API Documentation: payment-system\")\n\nCheck your `docker-compose.yml` file for the correct ports.\n\n### 5. Stopping the Services\n\nTo stop the running services, press \\`CTRL+C\\` in the terminal where \\`docker-compose up\\` is running, or use the following command:\n\n```bash\ndocker-compose down\n```\n\nThis command stops and removes all containers defined in the \\`docker-compose.yml\\` file.\n\n### 6. Build and Test Github Action already works (Optional)\n\n### End of The Documentation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariobgsp%2Fpayment-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariobgsp%2Fpayment-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariobgsp%2Fpayment-system/lists"}