{"id":40722838,"url":"https://github.com/cushydigit/nanobank","last_synced_at":"2026-01-21T13:39:33.491Z","repository":{"id":295620341,"uuid":"990477583","full_name":"cushydigit/nanobank","owner":"cushydigit","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-10T14:00:31.000Z","size":708,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-10T14:27:41.307Z","etag":null,"topics":["banking-system","docker","docker-compose","golang","kubernetes","microservice","minikube"],"latest_commit_sha":null,"homepage":"","language":"Go","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/cushydigit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-05-26T07:14:31.000Z","updated_at":"2025-06-10T14:09:11.000Z","dependencies_parsed_at":"2025-06-10T14:23:19.536Z","dependency_job_id":"1b0535c4-0d88-4d5a-99f8-b71bbb788c2e","html_url":"https://github.com/cushydigit/nanobank","commit_stats":null,"previous_names":["cushydigit/nanobank"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cushydigit/nanobank","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cushydigit%2Fnanobank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cushydigit%2Fnanobank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cushydigit%2Fnanobank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cushydigit%2Fnanobank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cushydigit","download_url":"https://codeload.github.com/cushydigit/nanobank/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cushydigit%2Fnanobank/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28633792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["banking-system","docker","docker-compose","golang","kubernetes","microservice","minikube"],"created_at":"2026-01-21T13:39:33.427Z","updated_at":"2026-01-21T13:39:33.480Z","avatar_url":"https://github.com/cushydigit.png","language":"Go","readme":"\u003ch1 align=\"center\"\u003e\n    🏬 Nanobank \n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/cushydigit/microstore/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-green.svg\" alt=\"License MIT\"\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Go-1.24-blue.svg\" alt=\"Go 1.24+\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Build-Passing-brightgreen.svg\" alt=\"Project Status\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Docker-Enabled-blue.svg\" alt=\"Project Status\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PostgreSQL-Supported-blue.svg\" alt=\"Project Status\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\nNanoBank is a modular, containerized \u003cstrong\u003ebanking microservices\u003c/strong\u003e project built in Go, designed for local development and deployment using \u003cstrong\u003eDocker Compose\u003c/strong\u003e and \u003cstrong\u003eKubernetes (Minikube)\u003c/strong\u003e. It includes authentication, account management, transaction tracking, email notifications, and message brokering via RabbitMQ.\n\u003c/p\u003e\n\n\n## Services \n\n- **`gateway`** : API Gateway, entrypoint for clients\n- **`auth-service`** : register login logout, secure with JWT refresh token rotation\n- **`account-service`** : manage user acccount, balance, deposit, withdraw and transfer between accounts\n- **`transaction-service`** : the transaction history and status\n- **`mailer-service`** : SMTP protocol via Mailhog\n- **`postgres`** : sql database with persistance\n- **`redis`** : used for session/token management\n- **`mailhog`** : mail teseting web UI \n\n## Getting Started\n\nThe project requires `Go` ,`Docker` and `Make` to get started.\n\nclone the repo:\n```bash\ngit clone https://github.com/cushydigit/nanobank.git\ncd nanobank\n```\n\nrun services:\n```\nmake up\n```\n\nstop services:\n```\nmake stop\n```\n\n## Technology Stack \n\n- **`Language`** : Go 1.24\n- **`Architecture`** : Clean Architecture with microservices\n- **`Communication`** : REST APIs over HTTP protocol\n- **`Containerizaion`** : Docker\n- **`Orchestrates`** : Docker compose || Kubernetes (Minikube)\n- **`Database`** : PostgreSQL\n- **`Broker`** : RabbitMQ\n- **`Cache`** : Redis \n- **`Email Testing`** : Mailhog\n- **`Build System`** : Makefile with common commands\n- **`API Tesing`** : Postman collection included\n\n## Kubernetes Setup (Minikube)\nMake sure you ahave Minikube(https://github.com/kubernetes/minikube) installed\n\nStart minikube and deploy\n```\nmake start\nmake build\nmake deploy\n```\n\n## Structure Overview\n\n```tree\n\nnanobank/\n├── gateway/                # API Gateway routing external HTTP traffic to services\n├── auth-service/           # Handles user registration, login, authentication\n├── account-service/        # Handles account creation, deoposit, withdraw and transfer\n├── transaction-service/    # Handles get transactions\n├── mailer-service/         # Used for internal services sending the token confirmation etc (notifications)\n├── shared/                 # Common utilities, middleware, DB, Redis, search clients\n├── deployments/            \n│   ├── docker-compose.yml  # Orchestrates via docker compose\n│   └── k8s/                # Orchestrates setup files via kubernetes (Minikube) \n└── Makefile                # Common build and run commands\n\n```\n\n## Request Processing Flows\n\n### overview flow\n\n![flow-overview](./assets/nanobank_flow_overview.png)\n\n### auth flow\n![flow-auth](./assets/nanobank_auth_flow.png)\n\n### transfer flow \n![flow-transfer](./assets/nanobank_data_flow.png)\n\n## Postman Collection\n\nYou can use the Postman collection to test all available endpoints:\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/material-astronaut-37601285/workspace/cushydigit/collection/21076955-fe36b2ea-fa91-4ae1-a392-c70e2a5b8a48?action=share\u0026creator=21076955)\n\n## License\n\nThis project is for educational and portfolio purposes. Feel free to use it as a reference or learning resource.\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcushydigit%2Fnanobank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcushydigit%2Fnanobank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcushydigit%2Fnanobank/lists"}