I am a one-man show: Deployment and infrastructure for a 150k/m visits webapp

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • I needed something that would restart containers automatically when I pushed to a branch, so I wrote a few lines of code to do it:

    https://gitlab.com/stavros/harbormaster

    As far as PaaSes go, it's probably the simplest, and works really well.

  • Next.js

    The React Framework

  • > SSR vs client side: NextJs does this automatically. https://nextjs.org/docs/basic-features/pages

    Uh-huh. Do some simple stackoverflow searches for how to configure a real Next/Vercel app with error-handling, passing thru cookie/session state, or how to wire up third party services or components. Or check out next.js issue search for "window undefined" - https://github.com/vercel/next.js/search?q=window+undefined&... -> 1667 issues right now. Even if you discount 3/4 of those as duplicates, developer error, etc, you have a ton of issues where figuring out server vs client state is confusing for many folks.

    It sounds like has worked great for you out of the box, which is great! But that isn't the case for many other developers.

    This is not my definition of "automatic".

    > I'd use tRPC

    This looks pretty compelling if you are all-in with TS everywhere, including your server/data access layer. Which doesn't apply in the OP's post, since it's a traditional CRUD app with python in front of good ole' PSQL DB.

    > monitoring/observability: not quite sure what you mean, but it's only a few clicks in vercel to have a logdrain or metric drain

    We are using Vercel routing its logs to datadog right now. It works fine but is extremely limited. Want to wire up full-stack transactions w/ the rest of your app, or modify _what_ it logs? Good luck.

    Also, trying to use a real APM (Datadog, Scout, open source, whatever) is a complete non-starter. You need a persistent process running somewhere to take the data, buffer, and transport it _somewhere_, and so far you can't do that with Vercel's custom server support. You _can_ do this with just NextJS (no vercel), but it requires some frightening hacks I would not be comfortable adding to apps I maintain: https://jake.tl/notes/2021-04-04-nextjs-preload-hack.

    I get that Vercel provides a very quick setup and a smooth dev experience, especially if you are in their sweet spot of something like a static site or blog engine. It just seems more trouble than its worth for most CRUD apps, especially anything that isn't 100% in the javascript/typescript world.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Deploying organization repo to Vercel with a hobby plan

    1 project | dev.to | 3 May 2024
  • Is purging still the hardest problem in computer science?

    1 project | dev.to | 1 May 2024
  • Runtime environmental variables in Next.js 14

    2 projects | dev.to | 25 Apr 2024
  • Ensuring Type Safety in Next.js Routing

    3 projects | dev.to | 20 Apr 2024
  • Styling Your Site with Next.js and MUI: Creating a Dynamic Theme Switcher

    2 projects | dev.to | 18 Apr 2024