{"id":21070860,"url":"https://github.com/codebatine/uniblock","last_synced_at":"2026-05-19T01:38:45.301Z","repository":{"id":238357678,"uuid":"796214927","full_name":"codebatine/uniblock","owner":"codebatine","description":"Blockchain with Node.js.","archived":false,"fork":false,"pushed_at":"2024-05-09T14:16:40.000Z","size":130,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T21:56:54.844Z","etag":null,"topics":["blockchain","hash","javascript","middleware","nodejs","proof-of-work","server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codebatine.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":"2024-05-05T09:37:09.000Z","updated_at":"2024-05-09T14:16:23.000Z","dependencies_parsed_at":"2024-05-09T15:49:57.660Z","dependency_job_id":null,"html_url":"https://github.com/codebatine/uniblock","commit_stats":null,"previous_names":["codebatine/uniblock"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebatine%2Funiblock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebatine%2Funiblock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebatine%2Funiblock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebatine%2Funiblock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codebatine","download_url":"https://codeload.github.com/codebatine/uniblock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243513970,"owners_count":20303045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["blockchain","hash","javascript","middleware","nodejs","proof-of-work","server"],"created_at":"2024-11-19T18:48:40.356Z","updated_at":"2026-05-19T01:38:45.262Z","avatar_url":"https://github.com/codebatine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UniBlock\n\nThis repo is a simple implementation of a blockchain in Node.js.\n\n## :white_check_mark: Features\n\n- **MVC Architecture**: Built around the MVC design pattern, which separates concerns into distinct components, improving manageability and scalability.\n\n- **Error Handling**: Implements error handling according to best practices, ensuring that any issues are caught and handled appropriately.\n\n- **Persistent Blockchain**: Written to a JSON file, ensuring that it persists even after the server is restarted.\n\n- **Error Logging**: Any errors that occur are logged to a physical error log, making it easier to diagnose and fix issues.\n\n- **ES6 Modules**: Which offer benefits like static typing and improved support for cyclic dependencies over CommonJS modules.\n\n- **Test-Driven Development (TDD)**: The creation of blocks is done using TDD, ensuring that each block's functionality is thoroughly tested before it's added to the codebase.\n\n- **Block Verification and Validation**: Each block is verified and validated using a \"Proof of Work\" algorithm, ensuring the integrity and security of the blockchain.\n\n- **Complex Object Data**: Data in the block is of the type \"complex object\", which means it's either an instance of a class or an anonymous object.\n\n- **Centralized Error Handling**\n\n- **Centralized Logging**\n\n## Getting Started\n\nTo get started with this application, clone the repository and install the dependencies:\n\n```bash\nnpm install\nnpm run dev\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebatine%2Funiblock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebatine%2Funiblock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebatine%2Funiblock/lists"}