{"id":25024120,"url":"https://github.com/royrusso/react_express_electron","last_synced_at":"2025-03-30T14:12:42.508Z","repository":{"id":274487669,"uuid":"923041975","full_name":"royrusso/react_express_electron","owner":"royrusso","description":"Electron sample of a React, Vite, Express app, deployable on any platform.","archived":false,"fork":false,"pushed_at":"2025-01-28T19:53:52.000Z","size":266,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T15:46:56.701Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/royrusso.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":"2025-01-27T14:47:25.000Z","updated_at":"2025-01-28T19:53:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"e439009c-84b2-4b59-ad50-536361a64c48","html_url":"https://github.com/royrusso/react_express_electron","commit_stats":null,"previous_names":["royrusso/react_express_electron"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royrusso%2Freact_express_electron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royrusso%2Freact_express_electron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royrusso%2Freact_express_electron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royrusso%2Freact_express_electron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/royrusso","download_url":"https://codeload.github.com/royrusso/react_express_electron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246326792,"owners_count":20759439,"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":[],"created_at":"2025-02-05T15:39:11.717Z","updated_at":"2025-03-30T14:12:42.502Z","avatar_url":"https://github.com/royrusso.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Electron + Vite + React + Express\n\nThis is a template for building a desktop application using Electron, Vite, React, and Express. It is a full-stack application that uses Electron to run the React frontend and Express backend. The frontend is built using Vite, and the backend is built using Express.\n\nThe build will generate a standalone desktop application that can be run on Windows, macOS, and Linux.\n\n## Running Locally\n\n1. Clone the repository\n2. Run `npm install` to install the dependencies\n3. `cd frontend` and run `npm install` to install the frontend dependencies\n4. You may need to run `npm run build` in the `frontend` folder to build the frontend.\n5. Run `npm run dev` to start the development server\n6. React app will be running on [http://localhost:5173](http://localhost:5173)\n\n## Building the Installers\n\n1. Run `npm run build` to build the installers\n2. The installers will be generated in the `dist` folder\n\n### (Optiona) Manual builds\n\n- Run `electron-builder build --mac` to build the macOS installer\n- Run `electron-builder build --win` to build the Windows installer\n- Run `electron-builder build --linux` to build the Linux installer\n\nInstallers will be generated in the `dist` folder.\n\n## Known Issues\n\n- The github action that's supposed to build the installers, builds a broken `.dmg` file, due to it not being signed.\n\n### GitHub Action\n\nThe action triggers on a new tag created with the format `v*.*.*`. It will build the installers and upload them as release assets.\n\n```\ngit tag v1.0.0  # Create a new tag\ngit push origin v1.0.0  # Push the tag to GitHub\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyrusso%2Freact_express_electron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froyrusso%2Freact_express_electron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyrusso%2Freact_express_electron/lists"}