{"id":44477882,"url":"https://github.com/rexkizzy22/micro-bank","last_synced_at":"2026-02-12T23:02:10.146Z","repository":{"id":41255077,"uuid":"508879894","full_name":"rexkizzy22/micro-bank","owner":"rexkizzy22","description":"A production-grade Go API that provides money transfer services between accounts of registered users","archived":false,"fork":false,"pushed_at":"2025-07-15T00:34:17.000Z","size":6798,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-12T22:47:00.102Z","etag":null,"topics":["api-rest","aws-ecr","backend","docker","docker-compose","gin-gonic","golang","grpc","kubernetes","render","swagger","unit-testing"],"latest_commit_sha":null,"homepage":"https://micro-bank.onrender.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rexkizzy22.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-30T00:04:54.000Z","updated_at":"2025-08-02T16:01:49.000Z","dependencies_parsed_at":"2024-02-03T12:27:28.042Z","dependency_job_id":"0dba436c-11c1-4876-87ad-ca9dce13744b","html_url":"https://github.com/rexkizzy22/micro-bank","commit_stats":null,"previous_names":["rexkizzy22/simple-bank"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rexkizzy22/micro-bank","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexkizzy22%2Fmicro-bank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexkizzy22%2Fmicro-bank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexkizzy22%2Fmicro-bank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexkizzy22%2Fmicro-bank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rexkizzy22","download_url":"https://codeload.github.com/rexkizzy22/micro-bank/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rexkizzy22%2Fmicro-bank/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29385024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T22:07:52.078Z","status":"ssl_error","status_checked_at":"2026-02-12T22:07:49.026Z","response_time":55,"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":["api-rest","aws-ecr","backend","docker","docker-compose","gin-gonic","golang","grpc","kubernetes","render","swagger","unit-testing"],"created_at":"2026-02-12T23:00:50.212Z","updated_at":"2026-02-12T23:02:10.141Z","avatar_url":"https://github.com/rexkizzy22.png","language":"Go","readme":"# Microbank\n\n**A minimalist implementation of a banking server, exposing endpoints for the following purposes:**\n\n- creating a banking customer\n- creating an account for a particular customer using one of the accepted currencies\n- transfering money between customer accounts\n- retrieving all accounts created by the customer in the current session\n- retrieving one account created by the customer in the current session\n\n**Read [NOTE.md](NOTE.md) for detailed information about this project**\n\n## Run Microbank\n\nYou can run Microbank in several different ways:\n\n### 1. Docker Compose - (The easiest)\n\n- Download [Docker](https://www.docker.com/products/docker-desktop/)\n- Clone this repository\n- Comment out the environment variables for localhost and uncomment the ones for docker compose environment in **app.env**\n- Start services\n\n```bash\ndocker compose up\n```\n\n### 2. Localhost (Macbook) - (Requires more installations on your machine)\n\nMicrobank implements **HTTP**, **gRPC Gateway** and **gRPC servers**\n\n**gRPC Gateway** server serves both **HTTP** and **gRPC requests**\n\n#### Pre-requisites\n\n1. [Homebrew](https://brew.sh/)\n2. PostgreSQL. Follow the download instructions on [the download section of the Postgres App install page](https://postgresapp.com)\n3. [Go](https://go.dev/dl/)\n4. golang-migrate. Run `brew install golang-migrate`\n5. [gow or go watch](https://github.com/mitranim/gow)\n6. Install [redis](https://redis.io/docs/latest/operate/oss_and_stack/install/install-redis/)\n\n#### Run HTTP server\n\n- Ensure these lines of code are commented out in the **main** function\n\n```go\ngo runGatewayServer(config, store)\nrunGrpcServer(config, store)\n```\n\n- Comment out the environment variables for docker environment and uncomment the ones for localhost in **app.env** file.\n\n- Download all dependencies\n\n```bash\n go mod download\n```\n\n- Start postgresql server\n\n- Start server\n\n```bash\nmake server\n```\n\n- Query the endpoints using the **microbank.rest.http** file or any rest client out there\n\n#### Run gRPC Gateway server\n\n- Ensure this line of code is commented out in the **main** function\n\n```go\nrunGinServer(config, store)\n```\n\n- Ensure these lines of code are uncommented in the **main** function\n\n```go\ngo runGatewayServer(config, store)\nrunGrpcServer(config, store)\n```\n\n- Comment out the environment variables for docker environment and uncomment the ones for localhost in app.env\n\n- Download all dependencies\n\n```bash\ngo mod download\n```\n\n- Start postgresql server\n\n- Start server\n\n```bash\nmake server\n```\n\n- Query the endpoints using the **microbank.gateway.http** file or any rest client out there\n\n#### Run only gRPC server\n\n- Ensure these lines of code are commented out in the **main** function\n\n```go\nrunGinServer(config, store)\ngo runGatewayServer(config, store)\n```\n\n- Ensure this line of code is uncommented in the **main** function\n\n```go\nrunGrpcServer(config, store)\n```\n\n- Download the [evans gRPC client](https://intelops.ai/blog/evans-cli-a-go-grpc-client/#installation-of-evans-cli) on your machine\n- Run the command\n\n```bash\nmake evans\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frexkizzy22%2Fmicro-bank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frexkizzy22%2Fmicro-bank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frexkizzy22%2Fmicro-bank/lists"}