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/framework for this.<p>Here's what I'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/annual subscription to my service.<p>* ability to remember low frequency data (user info) vs high write/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's what I'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's design.<p>* use stripe integration to manage payments so my hands aren'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 / 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't slept in two days. Thank you for your time!
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'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.
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've been happy with Landkit (<a href="https://landkit.goodthemes.co" rel="nofollow">https://landkit.goodthemes.co</a>). It's a bit heavy but you can shrink it.<p>If you're open to hosted solutions, we'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.
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.