{"id":25024121,"url":"https://github.com/royrusso/react_express","last_synced_at":"2025-07-01T22:04:53.115Z","repository":{"id":274996602,"uuid":"924299850","full_name":"royrusso/react_express","owner":"royrusso","description":"A sandbox on how to get Vite+React app to be served from a Node backend.","archived":false,"fork":false,"pushed_at":"2025-01-30T15:36:42.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T04:44:17.289Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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,"zenodo":null}},"created_at":"2025-01-29T18:59:27.000Z","updated_at":"2025-01-30T15:36:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"c53f7800-fdc6-4adc-ac89-d85cbc5073b8","html_url":"https://github.com/royrusso/react_express","commit_stats":null,"previous_names":["royrusso/react_express"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/royrusso/react_express","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royrusso%2Freact_express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royrusso%2Freact_express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royrusso%2Freact_express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royrusso%2Freact_express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/royrusso","download_url":"https://codeload.github.com/royrusso/react_express/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royrusso%2Freact_express/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263041899,"owners_count":23404457,"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.907Z","updated_at":"2025-07-01T22:04:53.100Z","avatar_url":"https://github.com/royrusso.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vite+React with Node backend\n\nA sandbox on how to get Vite+React app to be served from a Node backend.\n\n## Development Mode\n\nDevelopment mode let's you run the Vite+React app and the Node backend separately.\n\n### Vite+React\n\n```bash\ncd frontend\nnpm install\nnpm run dev\n```\n\nUI will be served at [http://localhost:5173/](http://localhost:5173/) by default.\n\n### Node backend\n\n```bash\ncd backend\nnpm install\nnpm run dev\n```\n\nServer will be served at [http://localhost:3000](http://localhost:3000) by default.\n\n## Production Mode\n\nProduction mode let's you run the Vite+React app and the Node backend together.\n\n### Add dependencies\n\n```bash\ncd frontend\nnpm install\n```\n\n```bash\ncd backend\nnpm install\n```\n\n```bash\ncd ..\nnpm install\n```\n\n### Run the app\n\n```bash\nnpm run build\nnpm run dev\n```\n\nUI should be served from the backend at [http://localhost:3000](http://localhost:3000) by default.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyrusso%2Freact_express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froyrusso%2Freact_express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyrusso%2Freact_express/lists"}