{"id":21377873,"url":"https://github.com/shkvik/nodejs-dbgen","last_synced_at":"2025-04-15T16:42:06.653Z","repository":{"id":255978431,"uuid":"854022785","full_name":"shkvik/nodejs-dbgen","owner":"shkvik","description":"This is an application which generates test data for postgres. His general task is the creating big amounts of data to train making SQL requests after.","archived":false,"fork":false,"pushed_at":"2024-09-30T09:57:22.000Z","size":333,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T22:35:07.400Z","etag":null,"topics":["generator","helper-tool","nodejs","postgresql","sql"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shkvik.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":"2024-09-08T07:34:15.000Z","updated_at":"2025-03-17T20:13:01.000Z","dependencies_parsed_at":"2024-09-08T08:52:44.186Z","dependency_job_id":"9e107b46-1ef0-4d03-b3f4-634853522876","html_url":"https://github.com/shkvik/nodejs-dbgen","commit_stats":null,"previous_names":["shkvik/nodejs-dbgen"],"tags_count":0,"template":false,"template_full_name":"shkvik/nodejs-console","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shkvik%2Fnodejs-dbgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shkvik%2Fnodejs-dbgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shkvik%2Fnodejs-dbgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shkvik%2Fnodejs-dbgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shkvik","download_url":"https://codeload.github.com/shkvik/nodejs-dbgen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249110380,"owners_count":21214320,"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":["generator","helper-tool","nodejs","postgresql","sql"],"created_at":"2024-11-22T09:24:04.892Z","updated_at":"2025-04-15T16:42:06.633Z","avatar_url":"https://github.com/shkvik.png","language":"TypeScript","readme":"# nodejs-dbgen\nДанная утилита сделана для тестирования и тренировки выполнения SQL запросов для базы данных Postgres. Её нужно использовать совместно с придуманными мною задачами на сайте [knowt.com](https://knowt.com/flashcards/8ccb3fe7-6631-4ded-9c58-fceb50b666da). Данный тренажёр пока включает в себя 69 задач на 30.09.2024 г. Я планирую расширять этот список, добавив как можно более экзотических вещей, которые можно выполнять с БД.\n\nС помощью этой утилиты вы можете синтезировать какое угодно количество данных, изменив config.yaml. (Если у вас мало место на диске, то будьте осторожны :D)\n\nПочему не использовать уже готовые сервисы для такого типа LeetCode? Вряд ли они позволят вам тестировать свои гипотизы на таблицах с более чем 10 000 000\nзаписей. Так вы сможете безопасно ломать эту базу и на практике убедится как оптимизировать запросы.\n\n![image](https://github.com/user-attachments/assets/1e3dc209-d1e6-46cd-9356-ce0945fbcfb2)\n\n# Чтобы этим пользоваться вам понадобится \n## Создать тестовый image pg в докере\n```bash\n$ docker run --name testdb --env-file .env -p 5432:5432 -d postgres:latest\n```\n##\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshkvik%2Fnodejs-dbgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshkvik%2Fnodejs-dbgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshkvik%2Fnodejs-dbgen/lists"}