{"id":20393708,"url":"https://github.com/luanroger/electric-drizzle","last_synced_at":"2025-09-24T01:31:25.684Z","repository":{"id":249567191,"uuid":"831714465","full_name":"LuanRoger/electric-drizzle","owner":"LuanRoger","description":"shadcn-ui and Drizzle ORM with Electron. Based on electron-shadcn","archived":false,"fork":false,"pushed_at":"2024-07-22T13:45:01.000Z","size":912,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-17T12:07:30.153Z","etag":null,"topics":["crud","demo","drizzle-orm","electron","react","shadcn-ui","tailwindcss","template","web"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/LuanRoger.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-07-21T12:13:06.000Z","updated_at":"2025-08-07T16:51:59.000Z","dependencies_parsed_at":"2024-07-21T22:27:21.704Z","dependency_job_id":"516c0a43-d999-4df3-8ba1-05f23ec44ee9","html_url":"https://github.com/LuanRoger/electric-drizzle","commit_stats":null,"previous_names":["luanroger/electric-drizzle"],"tags_count":0,"template":false,"template_full_name":"LuanRoger/electron-shadcn","purl":"pkg:github/LuanRoger/electric-drizzle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuanRoger%2Felectric-drizzle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuanRoger%2Felectric-drizzle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuanRoger%2Felectric-drizzle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuanRoger%2Felectric-drizzle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LuanRoger","download_url":"https://codeload.github.com/LuanRoger/electric-drizzle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuanRoger%2Felectric-drizzle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276678847,"owners_count":25684803,"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","status":"online","status_checked_at":"2025-09-23T02:00:09.130Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["crud","demo","drizzle-orm","electron","react","shadcn-ui","tailwindcss","template","web"],"created_at":"2024-11-15T03:49:45.439Z","updated_at":"2025-09-24T01:31:25.327Z","avatar_url":"https://github.com/LuanRoger.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# electric-drizzle\n\nAn Electron app to showcase the use of the [`drizzle`](https://orm.drizzle.team) library using the [electron-shadcn](https://github.com/LuanRoger/electron-shadcn) template as base.\n\n![Screenshot](https://github.com/LuanRoger/electric-drizzle/blob/main/images/demo.png)\n\n\u003e [!WARNING]\n\u003e This project is just for demo purposes, it will not be actively maintained.\n\n## How to run\n\n### Pre-requisites\n\n- Node.js\n- NPM\n- PostgreSQL instance running\n\nIt's recomended to use Docker to run the PostgreSQL instance. You can use the following command to start a PostgreSQL instance:\n\n```bash\ndocker run --name electric-drizzle-db -p 5432:5432 -d -e POSTGRES_USER=admin -e POSTGRES_PASSWORD=admin postgres\n```\n\n### Steps\n\n1. Clone this repository\n\n2. Install dependencies\n\n```bash\nnpm install\n```\n\n3. Update the database URL:\n\nIn the [`db_consts.ts`](https://github.com/LuanRoger/electric-drizzle/blob/main/src/lib/db/db_consts.ts) file, update the `dbUrl` constant with the URL of your PostgreSQL instance.\n\n4. Push the schemas to the database\n\n```bash\nnpm run db:push\n```\n5. Run the app\n\n```bash\nnpm run start\n```\n\n## License\n\nThis project is under the MIT license. Check the [LICENSE](https://github.com/LuanRoger/electric-drizzle/blob/main/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluanroger%2Felectric-drizzle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluanroger%2Felectric-drizzle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluanroger%2Felectric-drizzle/lists"}