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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What tech stack to use for my startup?

7 点作者 ViktorBash超过 3 年前
I&#x27;m building a website that is run of the mill CRUD (and am considering adding a mobile app in the future). I have written the backend API in Django and the frontend in React. However, I realized too late that a core marketing part of my project is SEO: React won&#x27;t cut it then. I&#x27;m considering rewriting the frontend in Next.js (to solve the issues with SEO), or just completely rewriting everything in Django. I&#x27;ve looked through a few past HN discussions about the state of web development, but I still can&#x27;t decide which is better. Right now I&#x27;m leaning towards Next.js because it would be less work&#x2F;time porting React to Next.js vs Django for the frontend; this would let me launch quicker, which is quite valuable.<p>Do I go with the shiny new thing, or tried and true framework? Also, what do you use as your tried and true tech stack for new projects?

3 条评论

dyeje超过 3 年前
You can move your existing front-end to a subdomain (e.g. app.startup.com) and then run your &quot;marketing&quot; (landing, pricing, blog, etc) pages through a separate stack.
donatj超过 3 年前
Unpopular opinion but PHP&#x2F;MySQL monolith, primarily server side rendering with client side enhancements, and you can have an MVC in weeks instead of months. When performance becomes a concern break off chunks into Go microservices. This is what we did and it&#x27;s served us very well.
评论 #30240505 未加载
评论 #30238570 未加载
评论 #30240335 未加载
patricklorio超过 3 年前
My react build scripts use <a href="https:&#x2F;&#x2F;github.com&#x2F;stereobooster&#x2F;react-snap" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stereobooster&#x2F;react-snap</a> to create static files which I deploy. Might be good enough for you. Otherwise I&#x27;d suggest moving the app to a different subdomain as someone else mentioned and having separate marketing pages. If you have a lot of dynamic content (ie user generated) that you want SEO&#x27;d, server side rendering is the most tried and tested.