{"id":13788950,"url":"https://github.com/MrFoxPro/inferno-isomorphic-template","last_synced_at":"2025-05-12T03:30:59.882Z","repository":{"id":124120699,"uuid":"136008826","full_name":"MrFoxPro/inferno-isomorphic-template","owner":"MrFoxPro","description":"Universal (Isomorphic) InfernoJS boilerplate with Express, TypeScript and FuseBox","archived":true,"fork":false,"pushed_at":"2020-09-05T16:02:10.000Z","size":32,"stargazers_count":13,"open_issues_count":5,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-19T00:37:48.843Z","etag":null,"topics":["boilerplate","enzyme","express","fuse-box","inferno","template","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/MrFoxPro.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}},"created_at":"2018-06-04T10:24:19.000Z","updated_at":"2024-01-04T15:50:05.000Z","dependencies_parsed_at":"2024-01-07T04:06:14.670Z","dependency_job_id":"29fc794c-eab0-476d-ae4e-4887fee35e22","html_url":"https://github.com/MrFoxPro/inferno-isomorphic-template","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/MrFoxPro%2Finferno-isomorphic-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFoxPro%2Finferno-isomorphic-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFoxPro%2Finferno-isomorphic-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFoxPro%2Finferno-isomorphic-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrFoxPro","download_url":"https://codeload.github.com/MrFoxPro/inferno-isomorphic-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253667960,"owners_count":21944944,"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":["boilerplate","enzyme","express","fuse-box","inferno","template","typescript"],"created_at":"2024-08-03T21:00:56.411Z","updated_at":"2025-05-12T03:30:59.583Z","avatar_url":"https://github.com/MrFoxPro.png","language":"TypeScript","funding_links":[],"categories":["Summary"],"sub_categories":["Boilerplates"],"readme":"# Simple Inferno Isomorphic (SSR) FuseBox template\r\nIncludes:\r\n-  Inferno 5.0.6\r\n-  Express 4.16.0\r\n-  TypeScript 2.9.1\r\n-  FuseBox 3.2.2 (easy alternative to webpack)\r\n-  Routing by inferno-router 5.0.6\r\n-  Tests by FuseBox test runner and enzyme with [enzyme-adapter-inferno](https://github.com/bbc/enzyme-adapter-inferno)\r\n# Installation:\r\n```\r\nnpm i\r\n\r\nnpm run dev\r\n```\r\nIf you are not Windows user, please change dev script in package.json: remove `set` word.  \r\nNote: debug mode works only for vscode (check out .vscode/launch.json)\r\n# Q\u0026A:\r\n\r\nQ: Why npm run dev uses **node**, not **ts-node**?  \r\nA: https://github.com/TypeStrong/ts-node#programmatic\r\n\r\nQ: Why in launch.json port set to 9229?  \r\nA: Node default inspect port is 9229 https://nodejs.org/en/docs/guides/debugging-getting-started/\r\nYou can specify port by change --inspect=\u003cPORT\u003e in package.json and launch.json\r\n\r\nQ: How to debug both server and client?  \r\nA: Use \"Start both\" configuration. More: https://github.com/fuse-box/fuse-box/blob/master/docs/guides/debugging-with-vscode.md#server-debugging\r\n\r\nQ: Why we used bundle.js in our HTML template?  \r\nA: Explanation how it works:\r\n   1. The server renders markups with renderToString\r\n   2. We have got only plain text document without any JS\r\n   3. Bundle.js is loaded and create Inferno instance, that \"clings\" DOM\r\n   4. Inferno binds events  \r\n      Good explanation: https://medium.com/@justinjung04/react-server-side-rendering-and-hot-reloading-ffb87ca81a89\r\n\r\nQ: Why **ts-node** installed as devDependency?  \r\nA: https://stackoverflow.com/a/44249080/8086153\r\n\r\nQ: Why ```import \"jsdom-global/register\";``` in test file?  \r\nA: https://github.com/airbnb/enzyme/issues/341#issuecomment-263045603  \r\n\r\nQ: I have an error  \r\nA: Please submit new issue with detailed description of your problem\r\n\r\nQ: How to use it with Azure?  \r\nA: Create Azure Web App for Linux and upload docker container. Then you should set variable WEBSITES_PORT to 80 (or any other that you used in server/index.ts) in App settings section.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMrFoxPro%2Finferno-isomorphic-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMrFoxPro%2Finferno-isomorphic-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMrFoxPro%2Finferno-isomorphic-template/lists"}