{"id":21721976,"url":"https://github.com/flaiers/flallet","last_synced_at":"2026-04-13T16:02:50.844Z","repository":{"id":119388167,"uuid":"569747886","full_name":"Flaiers/flallet","owner":"Flaiers","description":"Wallet microservice","archived":false,"fork":false,"pushed_at":"2022-11-23T14:42:58.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T21:55:03.029Z","etag":null,"topics":["docker","docker-compose","fiber","go","golang","golangci-lint","postgresql","s3"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Flaiers.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}},"created_at":"2022-11-23T14:22:50.000Z","updated_at":"2023-04-06T17:45:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a2e3d94-8171-4169-8ff7-f4ebee0ed1ea","html_url":"https://github.com/Flaiers/flallet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Flaiers/flallet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaiers%2Fflallet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaiers%2Fflallet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaiers%2Fflallet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaiers%2Fflallet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flaiers","download_url":"https://codeload.github.com/Flaiers/flallet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaiers%2Fflallet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31759540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"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":["docker","docker-compose","fiber","go","golang","golangci-lint","postgresql","s3"],"created_at":"2024-11-26T02:19:54.277Z","updated_at":"2026-04-13T16:02:50.808Z","avatar_url":"https://github.com/Flaiers.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microservice for working with user balance\n\n## Documentation\n\n1. Postman: [docs/postman.json](docs/postman.json)\n2. Swagger: [localhost:3000/api/v1/docs](http://localhost:3000/api/v1/docs)\n\n---\n\n## Requirements\n\n1. Go 1.19+: [go.dev/dl](https://go.dev/dl)\n2. Docker: [docs.docker.com/get-docker](https://docs.docker.com/get-docker)\n3. Docker Compose: [docs.docker.com/compose/install](https://docs.docker.com/compose/install)\n4. GolangCI: [golangci-lint.run/usage/install](https://golangci-lint.run/usage/install)\n\n---\n\n## Makefile\n\n\u003e Display all targets\n```bash\nmake help\n```\n\n```\nUsage:\n  make \u003ctarget\u003e\n  help                Display this help screen\n  install             Installations\n  lint                Run linters\n  swag                Generate swagger docs\n  run                 Run application\n  migrate             Migrate database\n  build               Build application\n  compose-convert     Converts the compose file to platform's canonical format\n  compose-build       Build or rebuild services\n  compose-up          Create and start containers\n  compose-down        Stop and remove containers, networks\n  compose-logs        View output from containers\n  compose-ps          List containers\n  compose-ls          List running compose projects\n  compose-exec        Execute a command in a running container\n  compose-start       Start services\n  compose-restart     Restart services\n  compose-stop        Stop services\n  docker-rm-volume    Remove db volume\n  docker-clean        Remove unused data\n```\n\n---\n\n## Run microservice\n\n\u003e Installations\n```bash\nmake install\n```\n\n\u003e Up database\n```bash\nmake compose-up services=\"db\"\n```\n\n\u003e Migrate database\n```bash\nmake migrate\n```\n\n\u003e Run application\n```bash\nmake run\n```\n\n---\n\n## Run microservice in Docker\n\n\u003e Create and start containers\n```bash\nmake compose-up\n```\n\n---\n\n## Environment variables\n\n\u003e Display all examples of variables\n```bash\ncat .env.example\n```\n\n```\n# Backend\nBACKEND_HOST         = localhost\nBACKEND_PORT         = 3000\nBACKEND_CORS_ORIGINS = http://localhost, https://localhost, https://localhost:8080, http://localhost:8080\n\n# Database\nDB_HOST = localhost\nDB_PORT = 5432\nDB_USER = postgres\nDB_PASS = postgres\nDB_NAME = db\n\n# S3\nS3_REGION            = us-east-1\nS3_BUCKET            = flallet\nS3_ENDPOINT          = https://flaiers.s3.amazonaws.com\nS3_ACCESS_KEY        = ...\nS3_SECRET_ACCESS_KEY = ...\n```\n\n---\n\n## Environment variables in Docker\n\n\u003e Display all examples of variables\n```bash\ncat docker/.env.example\n```\n\n```\n# Backend\nBACKEND_HOST         = 0.0.0.0\nBACKEND_PORT         = 3000\nHOST_BACKEND_PORT    = 3000\nBACKEND_CORS_ORIGINS = http://localhost, https://localhost, https://localhost:8080, http://localhost:8080\n\n# Database\nDB_HOST      = db\nDB_PORT      = 5432\nHOST_DB_PORT = 5432\nDB_USER      = postgres\nDB_PASS      = postgres\nDB_NAME      = db\n\n# S3\nS3_REGION            = us-east-1\nS3_BUCKET            = flallet\nS3_ENDPOINT          = https://flaiers.s3.amazonaws.com\nS3_ACCESS_KEY        = ...\nS3_SECRET_ACCESS_KEY = ...\n\n# Docker\nCOMPOSE_PROJECT_NAME = flallet\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaiers%2Fflallet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflaiers%2Fflallet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaiers%2Fflallet/lists"}