{"id":16462795,"url":"https://github.com/frankyso/angular-electron-typeorm","last_synced_at":"2026-04-11T04:32:04.045Z","repository":{"id":62832454,"uuid":"183175773","full_name":"frankyso/angular-electron-typeorm","owner":"frankyso","description":"Ultra-fast bootstrapping with Angular 7 and Electron 4 (Typescript + SASS + Hot Reload + Typeorm) ","archived":false,"fork":false,"pushed_at":"2019-04-24T08:22:56.000Z","size":312,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T13:58:25.055Z","etag":null,"topics":["angular","electron","hot-reload","sass","sqlite","sqlite3","typeorm","typescript"],"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/frankyso.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-24T07:44:28.000Z","updated_at":"2020-06-28T19:17:42.000Z","dependencies_parsed_at":"2022-11-07T14:45:29.563Z","dependency_job_id":null,"html_url":"https://github.com/frankyso/angular-electron-typeorm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frankyso/angular-electron-typeorm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fangular-electron-typeorm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fangular-electron-typeorm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fangular-electron-typeorm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fangular-electron-typeorm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frankyso","download_url":"https://codeload.github.com/frankyso/angular-electron-typeorm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fangular-electron-typeorm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31669113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["angular","electron","hot-reload","sass","sqlite","sqlite3","typeorm","typescript"],"created_at":"2024-10-11T11:12:20.292Z","updated_at":"2026-04-11T04:32:03.962Z","avatar_url":"https://github.com/frankyso.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Angular Logo](https://www.vectorlogo.zone/logos/angular/angular-icon.svg)](https://angular.io/) [![Electron Logo](https://www.vectorlogo.zone/logos/electronjs/electronjs-icon.svg)](https://electronjs.org/)\n\n[![Travis Build Status][build-badge]][build]\n[![Dependencies Status][dependencyci-badge]][dependencyci]\n[![Make a pull request][prs-badge]][prs]\n[![License](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](LICENSE.md)\n\n[![Watch on GitHub][github-watch-badge]][github-watch]\n[![Star on GitHub][github-star-badge]][github-star]\n[![Tweet][twitter-badge]][twitter]\n\n# Introduction\n\nBootstrap and package your project with Angular 7 and Electron (Typescript + SASS + Hot Reload) for creating Desktop applications.\n\nCurrently runs with:\n\n- Angular v7.2.0\n- Electron v4.0.0\n- Electron Builder v20.28.1\n\nWith this sample, you can :\n\n- Run your app in a local development environment with Electron \u0026 Hot reload\n- Run your app in a production environment\n- Package your app into an executable file for Linux, Windows \u0026 Mac\n\n## Getting Started\n\nClone this repository locally :\n\n``` bash\ngit clone https://github.com/maximegris/angular-electron.git\n```\n\nInstall dependencies with npm :\n\n``` bash\nnpm install\n```\n\nThere is an issue with `yarn` and `node_modules` that are only used in electron on the backend when the application is built by the packager. Please use `npm` as dependencies manager.\n\n\nIf you want to generate Angular components with Angular-cli , you **MUST** install `@angular/cli` in npm global context.\nPlease follow [Angular-cli documentation](https://github.com/angular/angular-cli) if you had installed a previous version of `angular-cli`.\n\n``` bash\nnpm install -g @angular/cli\n```\n\n## To build for development\n\n- **in a terminal window** -\u003e npm start\n\nVoila! You can use your Angular + Electron app in a local development environment with hot reload !\n\nThe application code is managed by `main.ts`. In this sample, the app runs with a simple Angular App (http://localhost:4200) and an Electron window.\nThe Angular component contains an example of Electron and NodeJS native lib import.\nYou can disable \"Developer Tools\" by commenting `win.webContents.openDevTools();` in `main.ts`.\n\n## Included Commands\n\n|Command|Description|\n|--|--|\n|`npm run ng:serve:web`| Execute the app in the browser |\n|`npm run build`| Build the app. Your built files are in the /dist folder. |\n|`npm run build:prod`| Build the app with Angular aot. Your built files are in the /dist folder. |\n|`npm run electron:local`| Builds your application and start electron\n|`npm run electron:linux`| Builds your application and creates an app consumable on linux system |\n|`npm run electron:windows`| On a Windows OS, builds your application and creates an app consumable in windows 32/64 bit systems |\n|`npm run electron:mac`|  On a MAC OS, builds your application and generates a `.app` file of your application that can be run on Mac |\n\n**Your application is optimised. Only /dist folder and node dependencies are included in the executable.**\n\n## You want to use a specific lib (like rxjs) in electron main thread ?\n\nYou can do this! Just by importing your library in npm dependencies (not devDependencies) with `npm install --save`. It will be loaded by electron during build phase and added to the final package. Then use your library by importing it in `main.ts` file. Easy no ?\n\n## Browser mode\n\nMaybe you want to execute the application in the browser with hot reload ? You can do it with `npm run ng:serve:web`.\nNote that you can't use Electron or NodeJS native libraries in this case. Please check `providers/electron.service.ts` to watch how conditional import of electron/Native libraries is done.\n\n## Branch \u0026 Packages version\n\n- Angular 4 \u0026 Electron 1 : Branch [angular4](https://github.com/maximegris/angular-electron/tree/angular4)\n- Angular 5 \u0026 Electron 1 : Branch [angular5](https://github.com/maximegris/angular-electron/tree/angular5)\n- Angular 6 \u0026 Electron 3 : Branch [angular6](https://github.com/maximegris/angular-electron/tree/angular6)\n- Angular 7 \u0026 Electron 3 : (master)\n\n[build-badge]: https://travis-ci.org/maximegris/angular-electron.svg?branch=master\n[build]: https://travis-ci.org/maximegris/angular-electron\n[dependencyci-badge]: https://dependencyci.com/github/maximegris/angular-electron/badge\n[dependencyci]: https://dependencyci.com/github/maximegris/angular-electron\n[license-badge]: https://img.shields.io/badge/license-Apache2-blue.svg?style=flat\n[license]: https://github.com/maximegris/angular-electron/blob/master/LICENSE.md\n[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[prs]: http://makeapullrequest.com\n[github-watch-badge]: https://img.shields.io/github/watchers/maximegris/angular-electron.svg?style=social\n[github-watch]: https://github.com/maximegris/angular-electron/watchers\n[github-star-badge]: https://img.shields.io/github/stars/maximegris/angular-electron.svg?style=social\n[github-star]: https://github.com/maximegris/angular-electron/stargazers\n[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20angular-electron!%20https://github.com/maximegris/angular-electron%20%F0%9F%91%8D\n[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/maximegris/angular-electron.svg?style=social\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankyso%2Fangular-electron-typeorm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrankyso%2Fangular-electron-typeorm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankyso%2Fangular-electron-typeorm/lists"}