{"id":16227940,"url":"https://github.com/tborychowski/zakupnik3","last_synced_at":"2025-07-16T15:38:34.183Z","repository":{"id":145624938,"uuid":"127155823","full_name":"tborychowski/zakupnik3","owner":"tborychowski","description":"Brilliant home-spendings-logger/manager","archived":false,"fork":false,"pushed_at":"2022-12-02T20:40:14.000Z","size":7675,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T19:00:37.008Z","etag":null,"topics":["docker","expense-tracker","self-hosted","spending-tracker","spendings-logger"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tborychowski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"tborychowski","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":"tborychowski","issuehunt":null,"otechie":null,"custom":["paypal.me/tborychowski","buymeacoff.ee/tborychowski"]}},"created_at":"2018-03-28T14:50:17.000Z","updated_at":"2025-01-07T19:30:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"437c1941-eba7-4ff0-ae26-1f298d5057ec","html_url":"https://github.com/tborychowski/zakupnik3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tborychowski%2Fzakupnik3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tborychowski%2Fzakupnik3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tborychowski%2Fzakupnik3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tborychowski%2Fzakupnik3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tborychowski","download_url":"https://codeload.github.com/tborychowski/zakupnik3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243992352,"owners_count":20380191,"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":["docker","expense-tracker","self-hosted","spending-tracker","spendings-logger"],"created_at":"2024-10-10T12:54:12.743Z","updated_at":"2025-03-19T13:31:14.608Z","avatar_url":"https://github.com/tborychowski.png","language":"JavaScript","funding_links":["https://github.com/sponsors/tborychowski","https://liberapay.com/tborychowski","paypal.me/tborychowski","buymeacoff.ee/tborychowski"],"categories":[],"sub_categories":[],"readme":"# ZAKUPNIK 3\nAnother version of a brilliant home-spendings-logger/manager.\nMobile friendly and simpler than ever.\n\n## Screenshots\n\u003cimg src=\"https://raw.githubusercontent.com/tborychowski/zakupnik3/master/screenshots/screen1.png\" width=\"900\" alt=\"Screenshot\"\u003e\n\n\n## Get started\n\n### Docker\nRequires docker to be installed and running.\n\nCreate `docker-compose.yml` file in a directory somewhere with the contents (or copy this file from the this repo):\n```yml\n---\nversion: '3.7'\nservices:\n  zakupnik:\n    container_name: zakupnik\n    image: tborychowski/zakupnik\n    restart: unless-stopped\n    ports:\n      - \"3000:${PORT}\"\n    env_file:\n      - ./.env\n    volumes:\n      - ./database.db:/app/database.db\n```\nThen run:\n```sh\ndocker-compose up -d\n```\nYour app should be available on [localhost:3000](http://localhost:3000).\nThe database.db file should be created in the same directory, so you can back it up periodically.\n\n\n\n### Local instance\nRequires: `node` and `npm` to be installed locally.\n\nRun the following commands:\n```sh\ngit clone https://github.com/tborychowski/zakupnik3.git zakupnik\ncd zakupnik\nnpm ci\nnpm run startprod\n```\n\n\n## Configuration\nCreate `.env` file:\n- when running with docker - in the same directory as your `docker-compose.yml`\n- when running locally - in the root dir of the repo\n\nYou can copy the attached `.env-example` file and just modify the values:\n```env\nSESSION_SECRET=abcdef\nAUTH=true\nLOGIN=admin\nPASSWORD=admin\nPORT=3000\nNODE_ENV=prod\n```\n- `SESSION_SECRET` - is used to encrypt the auth session and api requests\n- `AUTH` - allows you to disable the authentication, and run the app without the need to login. This is not recommended when the app is deployed to a public location!\n- `LOGIN` and `PASSWORD` - are your user credentials (when `AUTH` is `true`)\n- `PORT` - is the port on which the app will run inside the container.\n- `NODE_ENV` - is the environment type. `prod` or `production` should be set for production environments, otherwise: `dev` or `development`.\n\n\n## Building docker image\nRun\n```sh\ndocker build -t tborychowski/zakupnik .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftborychowski%2Fzakupnik3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftborychowski%2Fzakupnik3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftborychowski%2Fzakupnik3/lists"}