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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Best framework/stack for simple SaaS product site with payment

5 点作者 summitsummit超过 4 年前
I just built out a chrome extension client, and am now setting up the server. I could build everything from scratch in notepad, but there must be a far more efficient stack&#x2F;framework for this.<p>Here&#x27;s what I&#x27;m trying to achieve:<p>* webapp for people to sign up (with email verification), get an API token (probably a uuid?), and to purchase a monthly&#x2F;annual subscription to my service.<p>* ability to remember low frequency data (user info) vs high write&#x2F;read rate frequency such as how often they are hitting my apis (once a second per person). I was going to use MySQL for some data and redis for things that need to be referenced every api call such as updating the call count and checking membership status to ensure the api request should be fulfilled.<p>Here&#x27;s what I&#x27;ve done and am planning:<p>* host a static index.html with the landing page, not sure where I can get a minimal theme. Might just view-source and copy someone&#x27;s design.<p>* use stripe integration to manage payments so my hands aren&#x27;t dirty<p>* not sure how to do session management so users can login and purchase a subscription.<p>* host that on vercel along with my serverless functions &#x2F; lambdas for the client communication.<p>* everything is written in node.js. client side is written in react and blueprint.<p>Sorry if this is a little haphazard, I haven&#x27;t slept in two days. Thank you for your time!

3 条评论

mattmanser超过 4 年前
Rails. Django. Asp.Net Core. Spring. Laravel.<p>All those frameworks handle that stuff trivially.<p>Why are you trying to do it with a static site? Serverless? Node?<p>You&#x27;re massively over-complicating it.<p>There are even open-source template applications for most of those frameworks that already have customer and stripe supscriptions baked in.
ecesena超过 4 年前
Other than AWS as in other comments, another solution can be Firebase. You get user authn + hosting, most likely for free.<p>For theme I&#x27;ve been happy with Landkit (<a href="https:&#x2F;&#x2F;landkit.goodthemes.co" rel="nofollow">https:&#x2F;&#x2F;landkit.goodthemes.co</a>). It&#x27;s a bit heavy but you can shrink it.<p>If you&#x27;re open to hosted solutions, we&#x27;re building Saasform. In short, you get landing page + user authn + payments ready to go. Still in early alpha, but if you want to chat more feel free to reach out via email.
iordachej超过 4 年前
Aws for API gateway, servless functions, authetication and user storage. Not sure about the payment part, but you can try also with them. Also host static sites with them.