{"id":20384576,"url":"https://github.com/hibuz/blockchain-java","last_synced_at":"2026-04-29T21:07:05.422Z","repository":{"id":42124838,"uuid":"131457088","full_name":"hibuz/blockchain-java","owner":"hibuz","description":"⛓️ SpringBoot BlockChain Demo","archived":false,"fork":false,"pushed_at":"2022-04-12T16:37:09.000Z","size":155,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-06-21T05:03:15.442Z","etag":null,"topics":["ainize","blockchain","docker","gradle-multi-modules","grpc","java","protobuf","spring-boot","swagger"],"latest_commit_sha":null,"homepage":"https://ainize-blockchain-java-hibuz.endpoint.ainize.ai","language":"Java","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/hibuz.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}},"created_at":"2018-04-29T01:32:44.000Z","updated_at":"2024-01-23T07:47:45.000Z","dependencies_parsed_at":"2022-08-12T07:20:10.280Z","dependency_job_id":null,"html_url":"https://github.com/hibuz/blockchain-java","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hibuz/blockchain-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibuz%2Fblockchain-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibuz%2Fblockchain-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibuz%2Fblockchain-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibuz%2Fblockchain-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hibuz","download_url":"https://codeload.github.com/hibuz/blockchain-java/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibuz%2Fblockchain-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32443630,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"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":["ainize","blockchain","docker","gradle-multi-modules","grpc","java","protobuf","spring-boot","swagger"],"created_at":"2024-11-15T02:28:34.029Z","updated_at":"2026-04-29T21:07:05.403Z","avatar_url":"https://github.com/hibuz.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlockChain Demo [![Run on Ainize](https://ainize.ai/images/run_on_ainize_button.svg)](https://ainize.web.app/redirect?git_repo=https://github.com/hibuz/blockchain-java)\nThis is a Block Chain Demo Application\n\n## Development\n\nTo start your application in the dev profile, simply run:\n\n    ./gradlew :chain-core:bootRun\n\n\n## Building for production\nTo optimize the blockchain demo application for production, run:\n[![Actions Status](https://github.com/hibuz/blockchain-java/workflows/Java%20CI/badge.svg)](https://github.com/hibuz/blockchain-java/actions)\n\n    ./gradlew :demo-web:clean :demo-web:bootJar\n\nTo ensure everything worked, run:\n\n    java -jar -Dspring.profiles.active=prod demo-web/build/libs/*.jar\n\n\n## Testing\n\nTo launch your application's tests, run:\n\n    ./gradlew :chain-core:test\n\n\n## Using Docker to simplify development (optional)\n\nYou can also fully dockerize your application and all the services that it depends on.\nTo achieve this, first build a docker image of your app by running:\n- chain-core\n```bash\ndocker build --build-arg JAR_FILE=chain-core/build/libs/\\*.jar -t hibuz/chain-core -f chain-core/Dockerfile .\n```\n- demo-web\n```bash\ndocker build --build-arg JAR_FILE=demo-web/build/libs/\\*.jar -t hibuz/demo-web -f demo-web/Dockerfile .\n```\nYou can also dockerize in the subfolder\n```bash\ncd demo-web\ndocker build -t hibuz/demo-web .\n```\n\nThen run:\n- chain-core\n```bash\ndocker run --rm -p 6565:6565 hibuz/chain-core\n```\n- demo-web\n```bash\ndocker run --rm --network host hibuz/demo-web\n```\nTo use Github Container Registry\\`s `arm64` image with `prod` profile, run:\n```bash\ndocker run --rm -e \"SPRING_PROFILES_ACTIVE=prod\" -p 8080:8080 ghcr.io/hibuz/demo-web\n```\n\n\n## Rest APIs\n\nMethod\t| Path\t| Description\t|  \n------------- | ------------------------- | ------------- |\nGET\t| /\t| Redirect to /swagger-ui/index.html\nGET\t| /api/\t| Get block chain info\nPOST\t| /api/?msg={msg}\t| create newBlock with msg\nPOST\t| /api/recruit\t| create newBlock with generated recruit email\n\n\n## For demo\n\n * Blockchain Demo web server(demo-web): https://ainize-blockchain-java-hibuz.endpoint.ainize.ai\n * Blockchain Demo grpc server(chain-core): hibuz.com:6565\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhibuz%2Fblockchain-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhibuz%2Fblockchain-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhibuz%2Fblockchain-java/lists"}