{"id":17359303,"url":"https://github.com/przucidlo/electron-typescript-react-typeorm-sqlite-boilerplate","last_synced_at":"2025-04-15T00:31:34.699Z","repository":{"id":37194262,"uuid":"252509628","full_name":"przucidlo/electron-typescript-react-typeorm-sqlite-boilerplate","owner":"przucidlo","description":"A boilerplate for creating projects that want to use typeorm with sqlite3 inside electron.","archived":false,"fork":false,"pushed_at":"2023-01-07T16:39:37.000Z","size":1203,"stargazers_count":16,"open_issues_count":29,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T12:38:47.767Z","etag":null,"topics":["babel","electron","electron-builder","hot-module-replacement","hot-reload","react","react-hooks","react-hot-loader","typeorm","typescript","typescript-boilerplate","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/przucidlo.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}},"created_at":"2020-04-02T16:32:41.000Z","updated_at":"2025-03-27T18:41:12.000Z","dependencies_parsed_at":"2023-02-07T16:17:00.718Z","dependency_job_id":null,"html_url":"https://github.com/przucidlo/electron-typescript-react-typeorm-sqlite-boilerplate","commit_stats":null,"previous_names":["przucidlo/electron-typescript-react-typeorm-sqlite-boilerplate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/przucidlo%2Felectron-typescript-react-typeorm-sqlite-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/przucidlo%2Felectron-typescript-react-typeorm-sqlite-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/przucidlo%2Felectron-typescript-react-typeorm-sqlite-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/przucidlo%2Felectron-typescript-react-typeorm-sqlite-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/przucidlo","download_url":"https://codeload.github.com/przucidlo/electron-typescript-react-typeorm-sqlite-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248984292,"owners_count":21193719,"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":["babel","electron","electron-builder","hot-module-replacement","hot-reload","react","react-hooks","react-hot-loader","typeorm","typescript","typescript-boilerplate","webpack"],"created_at":"2024-10-15T19:08:53.945Z","updated_at":"2025-04-15T00:31:34.392Z","avatar_url":"https://github.com/przucidlo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\n### Stack contains:\n\n-   Typescript\n-   Electron\n-   React\n-   TypeORM\n-   SQLite3\n-   Webpack\n-   Babel\n\n#### This stack comes with few limitations due to bug(?) in webpack which causes usage of TypeORM on renderer process to be almost impossible.([#4210](https://github.com/typeorm/typeorm/issues/4210))\n\n---\n\nThe main idea of this stack is to use TypeORM on main process and communicate with renderer process by usage of remote/ipc calls.\n\n# Compatibility table\n\n| OS      | Status             |\n| ------- | ------------------ |\n| Windows | ✔️      |\n| Linux   | :heavy_check_mark: |\n| Mac     | :heavy_check_mark: |\n\n# Installation\n\n1. Clone this repository\n2. Remove .gitignore\n3. Call npm install to download required dependencies.\n4. Have fun :)\n\n# Usage\n\n    npm start\n\nStarts your app in development mode using the same terminal for electron and webpack-dev-server\n\n    npm build\n\nBundles your app using production config.\n\n    npm run build:dev\n\nBundles your app using development config.\n\n    npm run package\n\nPackages your app using electron-builder (config can be found in ./electron-builder.json)\n\n    npm run start:dev\n\nStarts webpack-dev-server.\n\n    npm run start:electron\n\nStarts electron instance in development mode.\n\n# Troubleshooting\n\n\u003e -   Webpack-dev-server doesn't notice any changes I make to code.\n\u003e -   React-hot-loader doesn't work.\n\nMake sure that you have enough\n[watchers](https://webpack.js.org/configuration/watch/#not-enough-watchers).\n\n\u003e -   Webpack warns about not being able to find database drivers in console.\n\nTypeORM has conditional dependencies on other databases (mysql, mssql...) and webpack has no idea which one are needed and tries to load all of them and warnings pop out.\n\n# TODO\n\n-   Improve the sample code.\n-   Setup tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprzucidlo%2Felectron-typescript-react-typeorm-sqlite-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprzucidlo%2Felectron-typescript-react-typeorm-sqlite-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprzucidlo%2Felectron-typescript-react-typeorm-sqlite-boilerplate/lists"}