{"id":26282213,"url":"https://github.com/arcbjorn/arc-donation-widget","last_synced_at":"2026-04-11T10:32:51.081Z","repository":{"id":124770362,"uuid":"362230361","full_name":"arcbjorn/arc-donation-widget","owner":"arcbjorn","description":"Donation widget using Vue 3, Koa.js, Docker, Typescript, MongoDB, Mongoose","archived":false,"fork":false,"pushed_at":"2021-05-11T01:57:52.000Z","size":676,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-04T22:29:52.797Z","etag":null,"topics":["cypress","docker","docker-compose","jest","koa","mongodb","mongoose","nodejs","typescript","vue"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/arcbjorn.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":"2021-04-27T19:38:27.000Z","updated_at":"2021-05-14T16:59:51.000Z","dependencies_parsed_at":"2023-07-03T08:48:48.641Z","dependency_job_id":null,"html_url":"https://github.com/arcbjorn/arc-donation-widget","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arcbjorn/arc-donation-widget","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcbjorn%2Farc-donation-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcbjorn%2Farc-donation-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcbjorn%2Farc-donation-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcbjorn%2Farc-donation-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arcbjorn","download_url":"https://codeload.github.com/arcbjorn/arc-donation-widget/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcbjorn%2Farc-donation-widget/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259470941,"owners_count":22862997,"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":["cypress","docker","docker-compose","jest","koa","mongodb","mongoose","nodejs","typescript","vue"],"created_at":"2025-03-14T16:39:52.648Z","updated_at":"2025-12-30T19:57:57.260Z","avatar_url":"https://github.com/arcbjorn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\" width=\"100%\"\u003e\n    \u003cimg width=\"50%\" src=\"https://i.ibb.co/x59DhyF/arc-donation-widget.png\"\u003e \n\u003c/p\u003e\n\n# Donation widget\n\nThe widget provides web interface to:\n\n- choose an amount to donate from suggestions\n- pick a currency of donation\n- give a custom donation amount\n- make a donation\n\nThe record of donation will be saved in MongoDB with its amount \u0026 currency.\n\nAll donations can be viewed at [http://localhost:8081/donations](http://localhost:8081/donations).\n\n## Development (Docker-Compose version) \u0026#8592; use this one :)\n\n```bash\n$ cd \u003cproject-folder\u003e\n\n# Build containers:\n$ docker-compose build --no-cache\n\n# Run the application in the development mode (all containers):\n$ docker-compose up\n\n# Also you can run only needed services:\n$ docker-compose up client server mongodb\n\n# View service logs:\n$ docker-compose logs \u003cservice_name\u003e\n\n# Clean up docker-compose environment:\n# - remove local containers\n# - remove named volumes declared in the compose file and anonymous volumes attached to containers\n# - remove containers for services not defined in the compose file\n$ docker-compose down --rmi local --volumes --remove-orphans\n\n```\n\nDocker-compose-based development environment supports editing of the\n`server/src`, `server/tests`, `client/src`, `client/public`, `client/tests`.\nIf you will change anything outside of these directories you should rebuild docker images.\n\n## Development (Docker version)\n\nYou should have MongoDB server running on your system.\n\nBuild, run and stop **Server** service:\n\n```bash\n# Build docker image:\n$ cd server\n$ docker build --tag donation-widget-server .\n\n# Run container:\n$ docker run --name donation-widget-server --env-file .env --network=\"host\" donation-widget-server\n$ # docker run builds AND starts the container\n$ # after initial run \"docker start server\" should be used\n\n# Stop and remove container:\n$ docker rm --force donation-widget-server\n```\n\nBuild, run and stop **Client** service:\n\n```bash\n# Build docker image:\n$ cd client\n$ docker build --tag client .\n\n# Run container:\n$ docker run --name client --env-file .env --network=\"host\" client\n$ # docker run builds AND starts the container\n$ # after initial run \"docker start client\" should be used\n\n# Stop and remove container:\n$ docker rm --force client\n```\n\n## Development (no Docker version)\n\nYou should have Node.js, yarn, MongoDB server (running) installed on your system.\nSetup development environment:\n\n```bash\n# Server service in the first terminal:\n$ cd \u003cproject-folder\u003e/server\n$ yarn\n$ yarn serve\n\n# Client service in the second terminal:\n$ cd \u003cproject-folder\u003e/client\n$ yarn\n$ yarn serve\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcbjorn%2Farc-donation-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcbjorn%2Farc-donation-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcbjorn%2Farc-donation-widget/lists"}