{"id":17180536,"url":"https://github.com/torniker/codenotary","last_synced_at":"2025-03-24T23:48:43.687Z","repository":{"id":225173519,"uuid":"765264575","full_name":"torniker/codenotary","owner":"torniker","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-29T15:51:49.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T03:12:58.045Z","etag":null,"topics":["immudb"],"latest_commit_sha":null,"homepage":"","language":"Go","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/torniker.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}},"created_at":"2024-02-29T15:36:35.000Z","updated_at":"2024-02-29T15:50:56.000Z","dependencies_parsed_at":"2024-02-29T17:03:21.269Z","dependency_job_id":null,"html_url":"https://github.com/torniker/codenotary","commit_stats":null,"previous_names":["torniker/codenotary"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torniker%2Fcodenotary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torniker%2Fcodenotary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torniker%2Fcodenotary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torniker%2Fcodenotary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/torniker","download_url":"https://codeload.github.com/torniker/codenotary/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372219,"owners_count":20604489,"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":["immudb"],"created_at":"2024-10-15T00:29:49.399Z","updated_at":"2025-03-24T23:48:43.664Z","avatar_url":"https://github.com/torniker.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Task\n\nPlease have a look at our cloud service immudb (http://vault.immudb.io/)[Vault] and build a simple application (Frontend + Backend) around it with the following requirements:\n\n- Application is storing accounting information within immudb Vault with the following structure: account number (unique), account name, iban, address, amount, type (sending, receiving)\n\n- Application has an API to add and retrieve accounting information\n\n- Application has a frontend that displays accounting information and allows to create new records.\n\nThe solution should:\n\n- Have a readme\n\n- Have a documented API\n\n- Have docker-compose so it is easy to run\n\nShould be easily configurable to run on non-localhost URLs.\n\nResources:\nimmudb Vault documentation: https://vault.immudb.io/docs/\nAPI reference: https://vault.immudb.io/docs/api/v1\n\n# Setup\n\nRun the following command to start the application\n\n```bash\ndocker compose build\ndocker compose up\n```\n\nOpen browser and navigate to `http://localhost:5656`\n\n# API\n\n`GET /api/accounting` - returns accounting information\nquery params:\n\n```\n{\n  \"page\": \"int\",\n  \"perPage\": \"int\"\n}\n```\n\n`GET /api/accounting/count` - returns count of accounting information\n\n`POST /api/accounting` - creates a new accounting information\nbody:\n\n```\n{\n  \"accountNumber\": \"string\",\n  \"accountName\": \"string\",\n  \"iban\": \"string\",\n  \"address\": \"string\",\n  \"amount\": \"int\",\n  \"type\": \"string\"\n}\n```\n\n# Useful commands\n\nRun the following command to create accounting collection\n\n```bash\nmake install-wand \u0026\u0026 ./build/wand create-accounting-collection\n```\n\nRun the following command to get accounting collection\n\n```bash\nmake install-wand \u0026\u0026 ./build/wand get-accounting-collection\n```\n\nRun the following command to drop accounting collection\n\n```bash\nmake install-wand \u0026\u0026 ./build/wand drop-accounting-collection\n```\n\nRun the following command to add random accounting document\n\n```bash\nmake install-wand \u0026\u0026 ./build/wand add-accounting-document\n```\n\nRun the following command to get the list of accounting documents\n\n```bash\nmake install-wand \u0026\u0026 ./build/wand search-accounting-document | jq\n```\n\nRun the following command to replace documents. Replace id with existing id\n\n```bash\nmake install-wand \u0026\u0026 ./build/wand replace-accounting-document {id}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorniker%2Fcodenotary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorniker%2Fcodenotary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorniker%2Fcodenotary/lists"}