TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: React 18 Node TypeScript ESM SSR project creator

2 点作者 Lukkaroinen将近 2 年前
I just have built this <a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;hoosat-create" rel="nofollow">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;hoosat-create</a>. Has custom made API server on top of node which is similar to express. Uses renderToPipeableStream for SSR. The goal for me is not to build stack which has ton of features, but a fresh starting point for you to learn implementing everything yourself.<p>## Features - Full-stack TypeScript application using React and Node HTTP&#x2F;HTTPS. - Working serverside seo with `react-helmet-async` - Client side routes with `BrowserRouter`, server uses `StaticRouter` - Supports ES modules for server-side and client-side ```. - Configured with Webpack for production builds. - Includes Jest for unit testing. - Includes example components and routes for getting started. - Includes HoosatUI as optional dependency as git submodule. - `npx hoosat-create@latest submodule` for creating empty submodule. - Template code: <a href="https:&#x2F;&#x2F;github.com&#x2F;Hoosat-Oy&#x2F;hoosat-template">https:&#x2F;&#x2F;github.com&#x2F;Hoosat-Oy&#x2F;hoosat-template</a><p>## Give it a try: ``` npx hoosat-create@latest ```<p>Basically everything you need for basic project. E2E and such you can add yourself. What do you think?

暂无评论

暂无评论