{"id":34808299,"url":"https://github.com/elgopher/deebee-loans","last_synced_at":"2026-05-26T04:02:29.623Z","repository":{"id":44745760,"uuid":"356637333","full_name":"elgopher/deebee-loans","owner":"elgopher","description":"Example web application for taking and paying off loans leveraging DeeBee as a persistent store","archived":false,"fork":false,"pushed_at":"2022-01-27T10:54:53.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-25T19:32:34.608Z","etag":null,"topics":["deebee","example","go","loans"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elgopher.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":"2021-04-10T16:30:10.000Z","updated_at":"2022-07-30T10:04:44.000Z","dependencies_parsed_at":"2022-08-26T05:02:00.277Z","dependency_job_id":null,"html_url":"https://github.com/elgopher/deebee-loans","commit_stats":null,"previous_names":["jacekolszak/deebee-loans"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elgopher/deebee-loans","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fdeebee-loans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fdeebee-loans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fdeebee-loans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fdeebee-loans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elgopher","download_url":"https://codeload.github.com/elgopher/deebee-loans/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgopher%2Fdeebee-loans/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33503230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"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":["deebee","example","go","loans"],"created_at":"2025-12-25T12:11:22.530Z","updated_at":"2026-05-26T04:02:29.616Z","avatar_url":"https://github.com/elgopher.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deebee-loans\n\nThis is a very simple (yet practical) example of web application\nleveraging [DeeBee](https://github.com/elgopher/deebee) as a persistent store.\n\nThe whole state of application is held in RAM. Cyclically and during application shutdown the state is persisted to disk\nusing DeeBee store.\n\nWhen application is starting, state is restored and loaded again into memory.\n\nThe state is also replicated once per hour to a second directory (which can be an NFS file system).\n\n## Disclaimer\n\nPlease note that application is lacking in multiple areas: security, input validation, testing etc. I wanted to focus\nonly on those topics related to storing application state.\n\n## Web API\n\n### Take a Loan\n\n```shell\ncurl \"http://localhost:8080/take?user=john\u0026amount=1600\u0026term=30\"\n```\n\n### Pay off the loan\n\n```shell\ncurl \"http://localhost:8080/pay?user=john\u0026amount=600\"\n``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgopher%2Fdeebee-loans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felgopher%2Fdeebee-loans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgopher%2Fdeebee-loans/lists"}