{"id":20604345,"url":"https://github.com/nikhilsarvaiye/starter-electron-nodejs-angular","last_synced_at":"2026-04-11T00:51:44.175Z","repository":{"id":37228175,"uuid":"98560705","full_name":"nikhilsarvaiye/starter-electron-nodejs-angular","owner":"nikhilsarvaiye","description":"A starter project demonstrating how to spawn an Express app from Electron, node JS best practices and angular on front","archived":false,"fork":false,"pushed_at":"2023-03-01T10:42:10.000Z","size":6138,"stargazers_count":0,"open_issues_count":26,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T02:14:57.534Z","etag":null,"topics":["angular","electron","email-template","jwt","jwt-authentication","nodejs"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikhilsarvaiye.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":"2017-07-27T16:52:17.000Z","updated_at":"2022-10-13T02:35:45.000Z","dependencies_parsed_at":"2024-11-16T09:32:57.084Z","dependency_job_id":null,"html_url":"https://github.com/nikhilsarvaiye/starter-electron-nodejs-angular","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/nikhilsarvaiye%2Fstarter-electron-nodejs-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilsarvaiye%2Fstarter-electron-nodejs-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilsarvaiye%2Fstarter-electron-nodejs-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikhilsarvaiye%2Fstarter-electron-nodejs-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikhilsarvaiye","download_url":"https://codeload.github.com/nikhilsarvaiye/starter-electron-nodejs-angular/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242250437,"owners_count":20096891,"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":["angular","electron","email-template","jwt","jwt-authentication","nodejs"],"created_at":"2024-11-16T09:22:19.596Z","updated_at":"2025-12-31T00:52:05.886Z","avatar_url":"https://github.com/nikhilsarvaiye.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# starter-electron-nodejs-angular\n\nA starter project demonstrating how to spawn an Express app from Electron, node JS best practices and angular on front\n\nExpress App:\n\n## How to run\n\n1. Clone the code repository.\n2. Open terminal to code repository.\n3. Make sure a copy of `Node.exe` and `Node.lib` are copied to the root of the \ncode repository.\n4. Run `npm install`. (See Dependencies above)\n5. Change directories to the express-app folder and run `npm install`.\n6. Change directories back to the root of the code repository.\n7. Run `npm start` to start the application.\n\n## Package with Electron-Packager\n\nIf you would like to package this using `electron-packager` you'll need to \nmake the following change:\n\nIn index.html (line ~65):\n\n```javascript\napp = require('electron').remote.app,\nnode = spawn(\".\\\\node.exe\", [\"./express-app/bin/www\"], { cwd: app.getAppPath() })\n```\n\nThis makes sure the path to our local copy of `node.exe` is correct when we run\nelectron to start the app.\n\nThat said, I'm assuming the platform is Windows. If other platforms are desirable\nadditional changes are required.\n\n## Running on Linux\n\nDownload standalone distribution of Node:\n[https://nodejs.org/dist/latest-v7.x/node-v7.10.0-linux-x64.tar.gz](https://nodejs.org/dist/latest-v7.x/node-v7.10.0-linux-x64.tar.gz)\n\nUnpack it into the root of the cloned repository. Then create a symbolic link called 'node' at the same location.\n\n```\nln -sf node-v7.10.0-linux-x64/bin/node node\n```\n\nHere is a screenshot of what it should look like:\n\n![File-Layout-Linux](screenshots/express-with-electron-linux-folder-structure-screenshot.png)\n\nChange line 65 in index.html to the following:\n\n```javascript\nnode = spawn(\"./node\", [\"./express-app/bin/www\"], { cwd: process.cwd() })\n```\n\nThen you can run it like this:\n\n```\n./node start-electron.js \u0026\n```\n\nOr edit the scripts section in 'package.json' and change it to:\n\n```json\n  \"scripts\": {\n    \"start\": \"./node start-electron.js\"\n  },\n```\n\nThen run\n\n```\nnpm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilsarvaiye%2Fstarter-electron-nodejs-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikhilsarvaiye%2Fstarter-electron-nodejs-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikhilsarvaiye%2Fstarter-electron-nodejs-angular/lists"}