{"id":19315688,"url":"https://github.com/vladpetriv/scanner_backend","last_synced_at":"2026-05-12T23:07:23.185Z","repository":{"id":37503280,"uuid":"480271121","full_name":"VladPetriv/scanner_backend","owner":"VladPetriv","description":"backend side represented as full-stack application with go-template  for processing data from tg scanner","archived":false,"fork":false,"pushed_at":"2023-05-13T19:50:37.000Z","size":437,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T03:42:40.615Z","etag":null,"topics":["backend","golang","kafka","postgresql"],"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/VladPetriv.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-11T07:25:29.000Z","updated_at":"2022-08-05T08:34:37.000Z","dependencies_parsed_at":"2024-11-17T04:11:32.798Z","dependency_job_id":"5e3b3912-7c6c-41c9-a81a-ee8cf82edc7f","html_url":"https://github.com/VladPetriv/scanner_backend","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/VladPetriv%2Fscanner_backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VladPetriv%2Fscanner_backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VladPetriv%2Fscanner_backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VladPetriv%2Fscanner_backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VladPetriv","download_url":"https://codeload.github.com/VladPetriv/scanner_backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240417277,"owners_count":19797968,"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":["backend","golang","kafka","postgresql"],"created_at":"2024-11-10T01:07:57.145Z","updated_at":"2025-11-15T05:19:40.367Z","avatar_url":"https://github.com/VladPetriv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scanner_backend\n\nscanner_backend is a backend side represented as full-stack application with go-template for processing data from tg scanner\n\n\n## Tech Stack\n\n**Server:** \n- gorilla/mux\n- Apache Kafka\n- Go Templates\n\n**DB:**\n- PostgreSQL\n- golang-migrate/migrate\n\n**Testing:**\n- stretchr/testify\n- DATA-DOG/go-sqlmock\n- mockery/mockery\n\n\n\n## Environment Variables\n\nTo run this project, you will need to add the following environment variables to your \".env\" file:\n- `POSTGRES_USER` - PostgreSQL user\n- `POSTGRES_PASSWORD` - PostgreSQL user password\n- `POSTGRES_HOST` - PostgreSQL host\n- `POSTGRES_DB` - PostgreSQL database name\n- `MIGRATIONS_PATH` - Path to migrations:“file://./db/migrations”\n- `PORT` - Bind address which server will use\n- `DATABASE_URL` - this field you can use if you don’t want to create PostgreSQL fields\n\n## Run Locally\n\nClone the project\n\n```bash\n   git clone git@github.com:VladPetriv/scanner_backend.git\n```\n\nGo to the project directory\n\n```bash\n  cd scanner_backend\n```\n\nInstall dependencies\n\n```bash\n  go mod download\n```\n\nStart the server locally:\n\n```bash\n  # Make sure that Apache Kafka and PostgreSQL are running\n  make run\n```\n\n\n## Running Tests\n\nTo run tests, run the following command:\n\n```bash\n  # Run it only if \"mocks\" folder not exist or if you updated \"repository.go\" files\n  make mock \n```\n\n```bash\n  make test \n```\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladpetriv%2Fscanner_backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvladpetriv%2Fscanner_backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladpetriv%2Fscanner_backend/lists"}