{"id":18143563,"url":"https://github.com/ewgenius/cra-server","last_synced_at":"2026-06-23T22:02:49.225Z","repository":{"id":57210323,"uuid":"82774215","full_name":"ewgenius/cra-server","owner":"ewgenius","description":"simple http server with proxy for create-react-app projects","archived":false,"fork":false,"pushed_at":"2017-02-22T10:11:11.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T19:16:20.349Z","etag":null,"topics":["create-react-app","express","proxy","server"],"latest_commit_sha":null,"homepage":null,"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/ewgenius.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":"2017-02-22T07:29:36.000Z","updated_at":"2021-09-23T09:36:35.000Z","dependencies_parsed_at":"2022-08-31T04:00:10.915Z","dependency_job_id":null,"html_url":"https://github.com/ewgenius/cra-server","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewgenius%2Fcra-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewgenius%2Fcra-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewgenius%2Fcra-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ewgenius%2Fcra-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ewgenius","download_url":"https://codeload.github.com/ewgenius/cra-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247539066,"owners_count":20955233,"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":["create-react-app","express","proxy","server"],"created_at":"2024-11-01T19:08:03.941Z","updated_at":"2026-06-23T22:02:49.218Z","avatar_url":"https://github.com/ewgenius.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CRA Server\n\nSimple express static server with opt-in proxy.\n\n## How to\n\n```\nnpm install --save-dev cra-server\n```\n\nadd in yout package.json:\n\n```\n...\n\"scripts\": {\n  ...\n  \"serve\": \"cra-server\"\n  ...\n}\n```\n\nuse env variables\n\n```\nPORT=3000\nSTATIC_DIR=build\nPROXY_PREFIX=/api\nPROXY_URL=http://\u003capi-server\u003e\n```\n\nor as cli tool\n\n```\ncra-server -p 3000 -d ./build\n```\n\n- -p, --port \u003cport\u003e - specify port, by default is 3000\n- -d, --dir \u003cstatic-directory\u003e - by default is ./build\n- -url, --proxy-url \u003cproxy-url\u003e - specify proxy url', optional\n- -prefix, --proxy-prefix \u003cproxy-prefix\u003e - specify proxy prefix, optional\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fewgenius%2Fcra-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fewgenius%2Fcra-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fewgenius%2Fcra-server/lists"}