{"id":13725042,"url":"https://github.com/reactend/reactend-express","last_synced_at":"2025-10-08T02:58:40.090Z","repository":{"id":45362697,"uuid":"336681656","full_name":"reactend/reactend-express","owner":"reactend","description":"React renderer to build Node.js server","archived":false,"fork":false,"pushed_at":"2023-04-20T00:49:50.000Z","size":399,"stargazers_count":400,"open_issues_count":2,"forks_count":18,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-05T04:44:44.891Z","etag":null,"topics":["nodejs","nodejs-server","react"],"latest_commit_sha":null,"homepage":"https://reactend.herokuapp.com/","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/reactend.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-07T02:19:40.000Z","updated_at":"2025-08-27T13:21:45.000Z","dependencies_parsed_at":"2024-05-09T18:31:50.908Z","dependency_job_id":"5daba7e4-de03-4c33-baad-d2a4086fd6a4","html_url":"https://github.com/reactend/reactend-express","commit_stats":{"total_commits":48,"total_committers":2,"mean_commits":24.0,"dds":0.04166666666666663,"last_synced_commit":"aeb9fde3cdb8745dac369d7af59709e4563b93b2"},"previous_names":["gigantz/react-xpress","gigantz/reactend-express"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/reactend/reactend-express","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactend%2Freactend-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactend%2Freactend-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactend%2Freactend-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactend%2Freactend-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reactend","download_url":"https://codeload.github.com/reactend/reactend-express/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactend%2Freactend-express/sbom","scorecard":{"id":765808,"data":{"date":"2025-08-11","repo":{"name":"github.com/reactend/reactend-express","commit":"aeb9fde3cdb8745dac369d7af59709e4563b93b2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/integration.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/integration.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/reactend/reactend-express/integration.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 1/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"35 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T00:45:16.549Z","repository_id":45362697,"created_at":"2025-08-23T00:45:16.549Z","updated_at":"2025-08-23T00:45:16.549Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278881829,"owners_count":26062176,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":["nodejs","nodejs-server","react"],"created_at":"2024-08-03T01:02:10.705Z","updated_at":"2025-10-08T02:58:40.063Z","avatar_url":"https://github.com/reactend.png","language":"JavaScript","readme":"# Reactend / Express\n\nReact-like http-server on Nodejs\u003cbr/\u003e\n\n### 🕹 [Playground on repl.it](https://repl.it/@orkhanjafarov/reactend-playground?v=1)\n\n### 📄 [Reactend Template](https://github.com/gigantz/reactend-template)\n\n\u003cbr /\u003e\n\n![Planet Express](./logo.svg)\n\u003cbr/\u003e\n\n## What's that?\n\n- Node.js http-server based on React-Components\n- Express.js inside\n- Get, Post, Delete and etc. components to use router method\n- `Get(render)` and `Res.Render` to render your regular React DOM Components\n- useContext(ReqResContext) hook to access `req, res`\n- Support `styled-components`\n- Built-in logger (morgan)\n- Middleware component in Router and its Routes\n- `handler` prop in Route components to use as regular controller\n\n_and many many features that should be documented..._\n\u003cbr /\u003e\u003cbr /\u003e\n\n## Get started\n\nRun this to create reactend project on your local machine\n\n```\nnpx create-reactend my-app\n```\n\n\u003cbr /\u003e\n\nYou choose template (default: basic)\n\n```\nnpx create-reactend my-app --template faker\n```\n\n\u003cbr /\u003e\n\n## Code Example\n\n```js\nimport React from 'react';\nimport { resolve } from 'path';\n\nimport { registerApp, App, Static, Router, Get, Post, Res, Logger } from '@reactend/express';\n\nconst ExpressApp = () =\u003e (\n  \u003cApp port={process.env.PORT || 8080}\u003e\n    \u003cStatic publicPath={resolve(__dirname, '/public')} /\u003e\n    \u003cLogger mode=\"dev\" /\u003e\n    \u003cRouter path=\"/\"\u003e\n      \u003cGet\u003e\n        \u003cRes.Header name=\"Cache-Control\" value=\"public, max-age=31557600\" /\u003e\n        \u003cRes.Render component={HomePage} /\u003e\n      \u003c/Get\u003e\n      \u003cGet path=\"/components\" render={ComponentsPage} /\u003e\n      \u003cRouter path=\"/api\"\u003e\n        \u003cPost\n          path=\"/status\"\n          json={{ msg: 'It is okay, bro' }}\n          handler={(req) =\u003e console.log(req.originalUrl)}\n        /\u003e\n      \u003c/Router\u003e\n      \u003cGet path=\"*\" text=\"Not Found\" status={404} /\u003e\n    \u003c/Router\u003e\n  \u003c/App\u003e\n);\n\nregisterApp(ExpressApp);\n```\n\n\u003cbr /\u003e\n\n## You can use this way too\n\n```js\nimport cors from 'cors';\n\u003cMiddleware handler={cors()} /\u003e;\n```\n\n```js\n\u003cGet path=\"/redirect\"\u003e\n  \u003cRes.Redirect statusCode={301} path=\"https://ru.reactjs.org\" /\u003e\n\u003c/Get\u003e\n\n\u003cPost path=\"/json\"\u003e\n  \u003cRes.Status statusCode={401} /\u003e\n  \u003cRes.Content json={{ msg: 'No Access' }} contentType=\"application/json\" /\u003e\n\u003c/Post\u003e\n\n\u003cGet path=\"/send-file\"\u003e\n  \u003cRes.SendFile path={resolve('public/code-example.png')} onError={console.log} /\u003e\n\u003c/Get\u003e\n\n\u003cGet path=\"/render\"\u003e\n  \u003cRes.Render component={() =\u003e \u003ch1\u003eShut Up And Take My Money!\u003c/h1\u003e} /\u003e\n\u003c/Get\u003e\n\n\u003cGet path=\"/faker\"\u003e\n  \u003cRes.Faker\n    length={10}\n    locale=\"az\"\n    map={{\n      fullName: \"name.findName\",\n      avatar: \"image.people\",\n      registeredAt: \"date.past\",\n    }}\n  /\u003e\n\u003c/Get\u003e\n```\n\n\u003cbr/\u003e\n\n## Components\n\n_This minor description for now (Docs is on the way)_\u003cbr/\u003e\u003cbr/\u003e\n`\u003cApp /\u003e` - App Instance (props: port) \u003cbr /\u003e\n`\u003cStatic /\u003e` - Static route (props: publicPath, path, options) \u003cbr /\u003e\n`\u003cRouter /\u003e` - Router-Provider (props: path) \u003cbr /\u003e\n`\u003cGet /\u003e, \u003cPost /\u003e and ...` - Route component (props: path, content, \u003cbr /\u003ehandler, status) \u003cbr /\u003e\n`\u003cMiddleware /\u003e` - Middleware (props: handler) \u003cbr /\u003e\n`\u003cLogger /\u003e` - morgan logger (props: mode, disabled) \u003cbr /\u003e\n`\u003cRes /\u003e` - Response components \u003cbr /\u003e\n`\u003cRes.Render /\u003e` - Render (props: component) \u003cbr /\u003e\n`\u003cRes.Content /\u003e` - Response send (props: json, text, contentType) \u003cbr /\u003e\n`\u003cRes.Status /\u003e` - Response Status (props: statusCode) \u003cbr /\u003e\n`\u003cRes.SendFile /\u003e` - Response Send File (props: path, options, \u003cbr /\u003eonError) \u003cbr /\u003e\n`\u003cRes.Redirect /\u003e` - Redirect (props: path, statusCode) \u003cbr /\u003e\n`\u003cRes.Faker /\u003e` - Redirect (props: length, locale, map) \u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n---\n\n## Contact me\n\nEmail me if you have any idea and you would like to be contributor [orkhanjafarovr@gmail.com](mailto:orkhanjafarovr@gmail.com)\n\nCheers ✨\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactend%2Freactend-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freactend%2Freactend-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactend%2Freactend-express/lists"}