News for hackers. Stuff that matters.

Ask HN: What is your preferred/most commonly used stack and why?

I'm curious about what most professional developers are using these days, from languages to deployment, and what they're building with it.

There's a lot to choose from and it seems like a few are really taking the lead. Maybe I'm biased but I prefer TypeScript, React w/ Styled Components, and PostgreSQL, all of which seem to be pretty dominant. TypeDoc is also really nice for generating clean documentation from type definitions and comments, and Jest for both front-end and back-end unit tests. I usually deploy (static) progressive web apps to Netlify and APIs to Heroku, but I'll probably try Render next.

If you're like me, you probably like to keep things to a minimum, optimized for a specific purpose without any bloat or unnecessary loose ends. I've built many different apps over the years and found myself repeating the same core functionality for each of them, each with their own slightly different stack and implementation as tools and ecosystems have evolved. I'd imagine this is the case for most experienced developers who enjoy building things from the ground up, without becoming dependent on an elaborate framework.

Last Friday I launched a project called Molecule.dev which aims to provide developers (and professional teams especially) with the most solid foundation possible for full-stack apps, skipping all of the most common tedious core functionality. It was originally built for my own purposes, but I've decided to provide it as a sort of "Foundation as a Service". Maybe there's a better way to classify it, but it isn't really a framework. It's a highly specialized codebase designed for the task at hand, complete with thorough documentation, tests, and guides, something I wish I had readily available when building apps over the years, as it would have saved me thousands of hours and tens of thousands of dollars.

Sorry for the (not so) thinly veiled advertisement, but I absolutely need feedback to turn Molecule.dev into something people actually want, and HN is probably the best place to get it. I think there is a lot of potential here.

( 69 comments | 58 points | on HN )
Re:Ask HN: What is your preferred/most commonly used stack a... by andrei_says_ on Wednesday December 08, 2021 @12:49PM (#29487943)
Ruby on Rails, Hotwire, StimulusJS, SCSS, slim, Postgres, Redis, on Heroku or Render.

Solid, mature, innovative, productive and pleasant to work with. 80% of SPA speed and reactivity with 5% of the effort.

If I need complicated interactivity in a specific area, I use vuejs.

Re:Ask HN: What is your preferred/most commonly used stack a... by readonthegoapp on Thursday December 09, 2021 @04:27AM (#29495407)
i thought Hotwire was supposed to give us js without the js, but it seems like it needs stimulusjs and/or a mix of at least three other libraries and html-polluting attributes and code snippets.

i def don't understand that world yet, but i'm thinking...is there even enough of a payoff to step down from Vue?

slim looks cool. guess i have to check out laravel lumen, too. i thought lumen was just api support, so maybe slim is the same? i have to watch a youtube.

https://www.slimframework.com/

Re:Ask HN: What is your preferred/most commonly used stack a... by andrei_says_ on Thursday December 09, 2021 @06:04PM (#29504296)
I meant http://slim-lang.com/

Never close another HTML tag again, never type or read a single character while writing clean compliant solid html.

Re:Ask HN: What is your preferred/most commonly used stack a... by readonthegoapp on Friday December 10, 2021 @04:18AM (#29507999)
so, slim is, in this case, a templating language/tech similar to blade, jinja, etc.
Re:Ask HN: What is your preferred/most commonly used stack a... by dtonon on Wednesday December 08, 2021 @05:02PM (#29491132)
+1

:)

Re:Ask HN: What is your preferred/most commonly used stack a... by aprdm on Wednesday December 08, 2021 @01:11PM (#29488229)
Django / Postgres

which might evolve to

React / Django+DjangoREST / Postgres / Redis / ES / RabbitMQ

Re:Ask HN: What is your preferred/most commonly used stack a... by samwillis on Wednesday December 08, 2021 @05:48PM (#29491580)
I agree, although I would swap out React for Vue.js V3.

Also, from experience RabbitMQ (with I assume Celery) is probably overkill for most projects and introduces more moving parts especially if you already have Redis. So I would go for Python RQ with Redis as the broker. (You can use Celery with a Redis broker but it has strange bugs and again probably overkill)

Finally, Ionic framework and Capacitor for mobile apps.

Oh, and increasing falling for TypeScript.

Supper quick stack to build anything.

Re:Ask HN: What is your preferred/most commonly used stack a... by tgdn on Thursday December 09, 2021 @10:37AM (#29498540)
Why Vue over React?
Re:Ask HN: What is your preferred/most commonly used stack a... by samwillis on Thursday December 09, 2021 @02:19PM (#29501668)
It’s as simple as I have more experience with it.
Re:Ask HN: What is your preferred/most commonly used stack a... by quickthrower2 on Wednesday December 08, 2021 @08:35PM (#29492801)
It depends on the problem but I stick with what I know.

Database: SQL Server at work, PostgreSQL at home (due to pricing but it's also great!).

Backend: ASP.NET Core

Front End: As little as possible but it depends on requirements going from

1. None at all

2. Use JQuery in certain spots for UX

3. Use Typescript/React (simple, no redux etc.) for a complex SPA-type app.

But 1 is the default because KISS.

No GraphQL or NoSQL DBs. Might use S3/Azure blobs though for caching.

ASP.NET/.NET/C# is used because I'm used to it. However even with that bias, I argue it is a great sweet spot for back end languages. Good typing system but not too complex like Haskell. Garbage collection works has never been something I've had to worry about. Also performant and great tooling.

Re:Ask HN: What is your preferred/most commonly used stack a... by gaws on Wednesday December 08, 2021 @09:45PM (#29493197)
> 2. Use JQuery in certain spots for UX

Yikes. Why? Vanilla JavaScript exists.

Re:Ask HN: What is your preferred/most commonly used stack a... by quickthrower2 on Wednesday December 08, 2021 @10:40PM (#29493559)
Yeah I should have specified I’d use vanilla first. I’m often using JQuery at work for legacy reasons. For a new project I’d try to avoid it or use one of the smaller libraries if needed.
Re:Ask HN: What is your preferred/most commonly used stack a... by leros on Wednesday December 08, 2021 @09:00PM (#29492949)
Thank you for saying simple React. I feel like I'm insane sometimes as I can do 99.9% of what I need without Redux.
Re:Ask HN: What is your preferred/most commonly used stack a... by readonthegoapp on Thursday December 09, 2021 @04:16AM (#29495360)
doesn't that mean you still need Redux?
Re:Ask HN: What is your preferred/most commonly used stack a... by schwartzworld on Thursday December 09, 2021 @06:13AM (#29496136)
No. Redux is an antipattern. Don't get me wrong it's an amazing tool for managing complex, changing global state. It's just that complex, changing global state doesn't belong in a react app. You can get all the certainty benefits of using redux by just learning to organize and abstract your stateful behavior properly.
Re:Ask HN: What is your preferred/most commonly used stack a... by tharkun__ on Wednesday December 08, 2021 @09:27PM (#29493107)
I agree on the "what I know" (also generally called 'boring tech'). Your boring tech stack is slightly different from 'mine' but also very similar in a sense. I guess we differ in being a Microsoftie vs. a *NIXer.

I think we also see a lot of stack choices here that are really great for smaller operations but don't scale well to larger ops. Pure initial speed of untyped languages and magic frameworks are great if you're alone or work with a few co-workers that you're close with and that know all of the magic by heart. Once you reach a certain size and you can't keep the whole thing in your head at all times, typed languages w/ IDE support just become so much faster. You are no longer building new stuff all time or adjust things you intimately know. You have to figure out yet another dusty corner of the code base that was written years ago by people that have since left the company. You really want to be able to just 'click through' the code in your IDE to understand it, without having to have a complete mental model of the whole thing in your head already and remember the 13 magic incantations that make the whole thing actually do something at runtime. Languages and frameworks that allow simple string searchability are king. I see "someString" somewhere, I want to be able to find _everything_ related to that by searching "someString". I don't want to have to try "some_string" or "some-string" or "string" (because "some" is a magic prefix added by some framework) to find related things!

SQL Server, while MS (which I don't like personally in any stack), has good foundations and they evolved it nicely. SQL Server is very boring as in, they licensed an established database and developed it for their own purposes and stack (i.e. their own operating system). For the newbies: MS SQL Server is Sybase ASE basically and the SQL dialect, Transact-SQL is the Sybase SQL dialect. Awesome boring tech that I 'grew up with'.

Love PostgreSQL myself and I am so glad to see that many many more people than "in my youth" are now finally using Postgres instead of MySQL. I'm at a Postgres using place right now and that's great!

Personally as I'm a *NIX guy, my boring backend language is Java and the not quite as boring one on the same JVM is Kotlin. I have dabbled in C# privately and love it from what I've seen, but never professionally because it comes with the 'wrong' rest of stack but the language and standard library is really nice and feels 'familiar' as a Java guy.

Totally with you on the FE: less is more! ;) Unfortunately there are these pesky users that want a UI and pay our bills. For that Typescript w/ React is soooo much better than either JQuery or Angular (never had to work with others) ever were going to be in a large shop.

NoSQL is "fine". It's actually boring tech! Just with a new twist. My dad used to tell me something along the lines of "Relational databases? That new-fangled stuff that's way too slow because you gotta join this table and that table and yet another table and all those indices that take forever to update on each write? Nah! We have the tables in exactly the format we need them and we look things up by key! Way faster!". That was on IBM mainframes. Big Iron.

Re:Ask HN: What is your preferred/most commonly used stack a... by eyelidlessness on Wednesday December 08, 2021 @01:03PM (#29488138)
I also primarily use TypeScript/Postgres where I have the choice. For UI I do prefer JSX but not React, I prefer something lighter and ideally supporting or amenable to partial hydration. I’m eager to use Deno more, there’s a lot that appeals to me more than Node.

In the past I’ve worked extensively in Clojure/ClojureScript. I really like the FP aspects and I came to really appreciate lisp generally, but I much prefer FP style in a statically typed language. I may look at Rust for some performance-sensitive stuff, and possibly Typed Racket for some DSL ideas I’ve been wanting to explore.

Re:Ask HN: What is your preferred/most commonly used stack a... by rpastuszak on Wednesday December 08, 2021 @02:19PM (#29489104)
> I’m eager to use Deno more, there’s a lot that appeals to me more than Node.

Like what? I’m genuinely curious.

Re:Ask HN: What is your preferred/most commonly used stack a... by eyelidlessness on Wednesday December 08, 2021 @03:13PM (#29489834)
1. Its API tends to be much closer to browser/web standards. This appeals to me because it’s easier/more productive to learn and reference one thing than multiple, similar things. It also appeals to me for portability, and potentially large improvements for “isomorphic” UI.

2. TypeScript in ESM is supported out of the box without a build step. There are solutions to this in Node, but they all have trade offs: ts-node is correct, but slow; ESBuild solutions are incorrect/incomplete (both because ESBuild itself lacks some TypeScript features and because the ESM loaders miss a variety of edge cases; ESM loaders are still experimental and there are large API changes coming in Node 17 (and presumably Node 18 which will be in LTS alongside the older APIs).

3. Performance: in terms of TypeScript (Deno uses SWC, which is nearly as fast as ESBuild and IIRC more correct), as well as heavy investment in Rust internals and third party extensibility.

4. Package management is both more standard (just import URLs) and more flexible (built in support for import maps, etc).

5. Related to #1 and #2, but a separate point: Deno can be expected to evolve faster while remaining relatively stable. Node has many legacy APIs that will likely never be deprecated in favor of even the standards it does adopt, and supporting those APIs already makes adopting newer standards more challenging.

6. There’s something refreshing to me about the fact that Deno’s creator was also Node’s, and that Deno is explicitly an admission of mistakes/warts in Node’s original design.

Re:Ask HN: What is your preferred/most commonly used stack a... by rpastuszak on Friday December 10, 2021 @05:04AM (#29508251)
That's a great overview, thanks!

The only thing missing for me here is having a permission model similar to WASI, where we could potentially have sandboxing per module/dependency. IIRC in Deno this is done on the application level. I wish it was a bit more granular.

I'm not too fussed about esbuild not supporting TS as well as SWC does, e.g. I don't care about enums. But your comment made me realise that I should probably give it another shot. Cheers

Re:Ask HN: What is your preferred/most commonly used stack a... by ozzythecat on Wednesday December 08, 2021 @12:18PM (#29487500)
C++ for shared mobile libraries, though the more recent projects are going the way of Rust.

Objective C and Java on clients, some Kotlin.

JVM in other places with Java for services, and Scala for EMR/Spark jobs.

Most of my back end runs through AWS though I moved some services on Azure now (mainly just to learn but it worked fine enough to move it for a couple production environments).

For storage I have my own Postgres instances. Way cheaper than any cloud. If I need regionalization and better redundancy, might move to AWS eventually.

Day to day tools involve Omnigraffle, Omnifocus, and iTerm2. Yes, everything on a MacBook Pro with a 1440p 120hz monitor.

Re:Ask HN: What is your preferred/most commonly used stack a... by sombremesa on Wednesday December 08, 2021 @12:23PM (#29487592)
What, no Alfred?
Re:Ask HN: What is your preferred/most commonly used stack a... by agustif on Wednesday December 08, 2021 @09:35PM (#29493147)
Checkout Raycast, it's the new Alfred yo!
Re:Ask HN: What is your preferred/most commonly used stack a... by sombremesa on Thursday December 09, 2021 @01:01PM (#29500726)
Looks interesting...but I think I'll hold off for now. Too used to Alfred 3 to even upgrade to Alfred 4.

Interesting pricing model, though. I wonder whether they'll succeed with it. In my experience, people love the idea of Alfred, but I've never had success getting anyone on my team to adopt it. (Maybe because of the "pay individually" nature of the good stuff (powerpack)? I'm not sure.)

Re:Ask HN: What is your preferred/most commonly used stack a... by agustif on Thursday December 16, 2021 @07:27AM (#29577482)
They seem like a very bright team capable of tackling it to me. Alfred was cool 10, or like 5y ago, but like last time I got into packal (alfred community marketplace) it was all errors over the place, which didn't inspire much confidence to a casual user...

I don't know, I just like what they're doing, The new Extensions api looks really powerful. I ported an alfred script to raycast in like 2min...

YMMV

I don't care about the paid/team offerings honestly, I use it myself, my teammates can use whatever they want. But hopefully they will have enough enterprise customers to make the company thrive

Re:Ask HN: What is your preferred/most commonly used stack a... by flohofwoe on Wednesday December 08, 2021 @03:06PM (#29489752)
The CPU stack, it's much preferable over the heap for memory management and passing data around ;)
Re:Ask HN: What is your preferred/most commonly used stack a... by reaperducer on Wednesday December 08, 2021 @02:49PM (#29489520)
Boring old LAMP stack here. Sure, it's not fancy, but it gets the job done, and it's fast to develop, deploy, and debug without all the fancy abstractions.

One of the reasons we're vanilla is to make it much easier to find people to hire.

Instead of limiting the applicant pool to those who know a particular combination of the frameworks-of-the-day, we can hire from a much larger pool of candidates who are familiar with all of the basics.

Re:Ask HN: What is your preferred/most commonly used stack a... by robador on Thursday December 09, 2021 @01:21AM (#29494441)
Nothing wrong with good old LAMP. Best kept secret is how good PHP has become over the years
Re:Ask HN: What is your preferred/most commonly used stack a... by apehx on Thursday December 09, 2021 @08:12PM (#29505304)
Backend: Spring boot with Kotlin, openapi-generator for server stubs, JOOQ for database interaction.

Frontend: React, antd as a component library, openapi-generator for api clients.

Database: PostgreSQL, flyway for migrations.

Out of all the stacks I've used over the years, this is the one I'm happiest with. It's very stable, each tool has excellent documentation and active communities, and it's just plain fun and productive to work with.

Re:Ask HN: What is your preferred/most commonly used stack a... by utf_8x on Thursday December 09, 2021 @10:24AM (#29498342)
Architecture - microservices mostly connected through GraphQL and gRPC (certificate based auth is the shit)

Languages - Java for backend, pure JS for frontend

Frameworks - Spring Boot on backend, pure React on frontend (I like to keep it simple)

Infrastructure - Mostly k8s (with helm to make life easier), Nix for more complex stuff

Databases - Postgres, Mongo, Redis, Elastic... Really depends on use-case...

Re:Ask HN: What is your preferred/most commonly used stack a... by jpgvm on Wednesday December 08, 2021 @02:53PM (#29489570)
Linux/JVM/Postgres - the "boring tech" stack.
Re:Ask HN: What is your preferred/most commonly used stack a... by gompertz on Wednesday December 08, 2021 @07:29PM (#29492434)
Yet solves probably 99% of use cases!
Re:Ask HN: What is your preferred/most commonly used stack a... by bhussai20 on Wednesday December 08, 2021 @12:26PM (#29487644)
I feel like this question is poorly formed in the age of resume-driven development. I prefer types of problems to tackle. But, I don't have preferred stacks so much as stacks I dislike less that are prescribed for my consistent employment.

My least disliked stack is the one that doesn't make me obscure, keeps my future career progression options sub-/Pareto- optimally open, while still making my pay competitive. So in essence I align with whatever is the easiest to adopt and train others on with minimal supervision.

i.e. JS, React, Express, Docker, AWS

Re:Ask HN: What is your preferred/most commonly used stack a... by loh on Wednesday December 08, 2021 @12:48PM (#29487927)
Sounds like we're on the same page.

I think TypeScript will actually overtake JavaScript eventually. It's just so nice to work with. JavaScript will of course always be supported and a prerequisite, but in terms of professional web and Node.js development on a broader scale, it's hard to imagine going back to writing plain JavaScript when TypeScript provides so much value for relatively little effort.

Also, I've updated the original title in light of your comment.

Re:Ask HN: What is your preferred/most commonly used stack a... by pcthrowaway on Wednesday December 08, 2021 @02:25PM (#29489187)
I don't know why this was downvoted, but I agree fully regarding Typescript, and was going to post the same thing. I've read good arguments against it by some people, and I agree, it does slow things down a lot.

But if you're not able to write things bug-free on the first try already, Typescript can bring a lot of value as well.

Re:Ask HN: What is your preferred/most commonly used stack a... by nomemory on Wednesday December 08, 2021 @04:01PM (#29490436)
Kotlin with Vert.x or Spring Boot depending how complicated things are in the backend. Spring can boost your productivity if you really need it. Vert.x gives you more control, but you will have to write more code. Java is also an option, but Kotlin is simply nicer.

When it comes to FE, I don't touch that anymore. I did some react and old angular in the past, but it was more like an obligation... I don't "feel" the community, or how complicated things have become.

For programs that are closer to the hardware or operating system, I feel quite comfortable in C (not C++).

For scripting, data visualization, and anything math related I use python. I usually end up having one big script, terrible written that works.

When it comes to databases, I pick mariadb because I have the biggest experience with it and it didn't disappoint me. From the NoSQL land I've tried the most popular ones, and I had good interreactions with redis, and the elk stack.

I've tried to love Go and Rust... I still try, because some companies I follow and have interesting projects are using them. But it's more like a long term goal to learn rust.

I believe my stack is boring, if not boring conservatory.

Re:Ask HN: What is your preferred/most commonly used stack a... by turtlebits on Wednesday December 08, 2021 @03:32PM (#29490108)
For web apps, Svelte + Hasura + Postgres.

I try for as as minimal as a backend as I can get away with. Sometimes none, or couple of serverless functions.

Re:Ask HN: What is your preferred/most commonly used stack a... by armchairhacker on Wednesday December 08, 2021 @04:20PM (#29490677)
No backend is entirely possible. The less tools you need, the less room for complexity, bugs, and slowness.

I've recently started an app with Vite+TypeScript and Supabase and it's exactly what I've been looking for:

- Fast development: I make a change to the webpage and it automatically reloads instantly (like 0.02sec). Starting the dev server or installing deps takes 1sec. The site itself is fast. IntelliJ inspection is fast. This might just because my site is still small, but given the insane speed I'm hoping it will hold up when I add more code

- Good integration with tools and linking: If the code is wrong the browser / console instantly shows a detailed stacktrace that actually makes sense. The Firefox dev server doesn't de-sync. So far I haven't had any issues looking into obfuscated JavaScript. Only issue is I haven't gotten IntelliJ debugging (in-browser debugging works fine though)

- Low boilerplate: I create a new table on the database, add a 4-line GET function on the frontend, add a 10-line view, and now I've added blog posts to my application. Authentication is absurdly easy, I can authenticate with Google/Facebook/Github in a single call. I don't have to write useless boilerplate. Supabase can even generate TypeScript types for database objects

I've worked on sites where reloading took a full minute (meteor); there were bugs in babel-js, bugs in the npm libraries we used, and every bug involved looking through obfuscated JS to find what code "actually" triggered an error; and every small schema change took so long as I literally had to code the database schema / ORM schema / migration / REST endpoint / fetching from the endpoint / updating from the client etc.

Those were all worst cases, but they basically made me flat-out give up and accomplish barely anything. They're what make me skeptical of 1000+libs and complex build systems in the first place. Sometimes all you need is a 100% static site and a few static ES-module dependencies, and that will take 0 seconds to compile and (provided you can actually find un-minified ES-module deps) you'll never get obfuscated JavaScript or linking errors.

Re:Ask HN: What is your preferred/most commonly used stack a... by JaggerJo on Wednesday December 08, 2021 @05:33PM (#29491448)
For web apps:

F# + .NET + ASP NET on the backend F# + Fable on the frontend

Otherwise just F# + .NET - basically runs everywhere and is good for anything.

Re:Ask HN: What is your preferred/most commonly used stack a... by Jugurtha on Thursday December 09, 2021 @06:57AM (#29496390)

  Stack:
    - Application:               
      - Flask            
      - PostgreSQL       
      - Nginx

    - Infra:
      - Google Cloud Platform
                       
    - Monitoring:      
      - Prometheus     
      - Grafana        
      - Sentry
         
    - Analytics:       
      - PostHog        

    - Containers:      
      - Docker images on GitLab registry                     

    - Repository management:                                 
      - GitLab:        
        - Issue templates for:                                   
          - Bugs       
          - Features   
          - Incidents  

    - Communications:  
      - Slack
Re:Ask HN: What is your preferred/most commonly used stack a... by boogywoogy on Thursday December 09, 2021 @07:20AM (#29496532)
Everyone goes through this phase of creating a “starter”.

Maybe they evolve it to a pluggable framework.

But nothing will last the test of time.

Things change too rapidly and developers usually need to understand everything themselves when they want to customize stuff.

The best is having small packages that do one thing well that do not involve buy-in to a particular framework.

It’s a really tough challenge. Making something flexible yet works out of the box.

Re:Ask HN: What is your preferred/most commonly used stack a... by ttfkam on Wednesday December 08, 2021 @12:31PM (#29487712)
"It depends" is my preferred stack. First define the problem, then we can look at how to implement it. If you mean most websites with simple crud and maybe some user interaction?

Very simple model: DynamoDB, especially if it fits in the free tier to start. More complex model: PostgreSQL, especially for anything between a trivial model and 10 million users (which is most projects). Database migration with Sqitch.

Data access method (middleware): GraphQL, because it's a spec rather than an implementation. My preference all things being equal is the database-driven solution Postgraphile, but I've had good experiences with other solutions like Hasura and Apollo Server depending on the problem. Hides complexity of DynamoDB access. Acts as an ORM layer for relational. The only GraphQL engine I avoid unless there is a good reason/requirement is AWS AppSync; I don't consider it fully baked yet as a general purpose data access solution from dev perspective.

Authorization: JWT, because I don't have to do an extra lookup, especially in a serverless environment with an API Gateway in front. Row-level security if I'm using PostgreSQL.

Authentication: Typically AWS Cognito, because most of my dev work is on AWS, and after you've done it once, redoing is trivial. Google auth for general public access. Simple identity pool for cases with a finite set of users such as an internal tool. If Google Auth on Google Cloud is dead simple, so I give that an honorable mention.

Front end: Svelte, because I know HTML, CSS, and JS very well, and Svelte is little more than that while still allowing fast component-driven development, data binding, and other modern features. Svelte calls the GraphQL API. Once all queries are clarified, the GraphQL layer is given an allowlist of acceptable queries and authorized through the JWT.

I prefer PWAs to native mobile coding or frameworks like React Native. If a PWA is insufficient, my preference would be Ionic due to my stated earlier experience with HTML, CSS, and JS.

I prefer AWS to Azure or Google Cloud. I also prefer regions other than us-east-1. Between those big three, I find prices similar, but options on AWS to be more mature and cover a wider breadth. CDK, CDK Pipelines, and CDK Solutions Constructs is by far my preferred method of developing infrastructure as code. I prefer writing in TypeScript mostly because it allows homogeneous language development from UI on down.

If I ever run into a performance problem that is CPU bound (happens fairly rarely), optimizing the lambda or whatever in Rust would be enticing. Most of the time though, it's just cheaper to scale up the instances/provisioning and move on. Developer time is almost always more expensive.

Re:Ask HN: What is your preferred/most commonly used stack a... by hmmokidk on Wednesday December 08, 2021 @03:10PM (#29489800)
Backend: Phoenix + Postgres

Frontend: Fairly variable, plain/embedded HTML or React

Deployment: PAAS first then terraform if it ever needs to be fine tuned

Re:Ask HN: What is your preferred/most commonly used stack a... by moooo99 on Thursday December 09, 2021 @09:42AM (#29497825)
Frontend: - NextJS - TailwindCSS + TailwindUI - react-query

Backend: - nestjs - PostgreSQL - docker on Hetzner or digital ocean for deployment

Im currently looking into Hasura/PostGraphile as a possible substitute for large parts of my backend stuff. I mostly build fairly simple CRUD apps, so I’m confident I can reduce complexity by quite a bit

Re:Ask HN: What is your preferred/most commonly used stack a... by thiht on Thursday December 09, 2021 @02:39AM (#29494838)
Postgres, because it’s rock solid and usually a good choice.

Go for the backend because it’s really quick and painless to produce something robust and that will last.

React (with Typescript) for the frontend because I love it’s component model and am personally pretty productive with it. For styles I just use CSS modules.

Re:Ask HN: What is your preferred/most commonly used stack a... by notpachet on Wednesday December 08, 2021 @12:59PM (#29488078)
It's fine to ask for feedback on your prototype, but that's probably better off as a standalone Show HN. Better for both sides -- you're probably not going to get as much feedback on your project as you'd like since it isn't the actual topic at hand.
Re:Ask HN: What is your preferred/most commonly used stack a... by loh on Wednesday December 08, 2021 @01:01PM (#29488108)
Yeah. I submitted it as a "Show HN" last Friday and received feedback from one person.
Re:Ask HN: What is your preferred/most commonly used stack a... by amanaplanablog on Thursday December 09, 2021 @04:36PM (#29503271)
If you think the timing was bad, try the second chance pool and repost it: https://news.ycombinator.com/pool
Re:Ask HN: What is your preferred/most commonly used stack a... by loh on Thursday December 09, 2021 @08:08PM (#29505284)
Oh that's interesting. I didn't even know this existed. Thanks!
Re:Ask HN: What is your preferred/most commonly used stack a... by nh2 on Wednesday December 08, 2021 @09:47PM (#29493218)
Backend: Haskell, Postgres, Ceph

Frontend: TypeScript, React

Scripting: Python with mypy (static type checking)

Deployment: nix, NixOS, nixops

Re:Ask HN: What is your preferred/most commonly used stack a... by m_ke on Wednesday December 08, 2021 @01:55PM (#29488783)
Backend: Django, DRF, Postgres, Redis, Ray Serve

Frontend / Mobile: React, React Native, MobX, TypeScript

ML: Pytorch

Ops: GCP, K8s

Re:Ask HN: What is your preferred/most commonly used stack a... by countvonbalzac on Wednesday December 08, 2021 @03:17PM (#29489888)
what do you think about react native? i hear a lot of bad things
Re:Ask HN: What is your preferred/most commonly used stack a... by midrus on Wednesday December 08, 2021 @03:15PM (#29489862)
Laravel, livewire, Unpoly and tailwind. Never been this productive in my life.
Re:Ask HN: What is your preferred/most commonly used stack a... by icedchai on Wednesday December 08, 2021 @09:42PM (#29493183)
I also find Laravel very productive for side projects. Unpoly looks interesting!
Re:Ask HN: What is your preferred/most commonly used stack a... by amanaplanablog on Thursday December 09, 2021 @01:14AM (#29494403)
Go / HTML / CSS / Vanilla JS / Postgres
Re:Ask HN: What is your preferred/most commonly used stack a... by austincheney on Wednesday December 08, 2021 @06:03PM (#29491726)
Backend: TypeScript, Node

Frontend: TypeScript (no frameworks)

Lint: TypeScript-Lint

Linux: Bodhi Linux

Database: no preference

I tend to build most everything else myself, the cost of low abstraction high performance execution.

Re:Ask HN: What is your preferred/most commonly used stack a... by bjacobt on Wednesday December 08, 2021 @04:56PM (#29491070)
Backend: FeathersJS (typescript) + postgresql + nginx

Frontend: Angular + Bootstrap + nginx

Landing Page: Bootstrap + JQuery + nginx

Automation: Ansible

Edit: formatting

Re:Ask HN: What is your preferred/most commonly used stack a... by rurban on Wednesday December 08, 2021 @04:58PM (#29491093)
Bash, Emacs, C.

Deployment: GitHub Actions and Pages

No databases, hashtables are good enough and around 1000x easier and faster.

Re:Ask HN: What is your preferred/most commonly used stack a... by angrais on Wednesday December 08, 2021 @07:24PM (#29492400)
What type of systems are you building where hashtables are good enough?

Can you provide examples of a range of apps you've worked on with this stack?

Re:Ask HN: What is your preferred/most commonly used stack a... by rurban on Thursday December 09, 2021 @09:37AM (#29497769)
See my github. Mostly system stuff: languages, libraries.

https://github.com/rurban/

E.g. I preferred hashtables as database in phpwiki. There I needed sorted pagination, but even without btree's the simple server-less hashtable architecture was 20x faster than mysql/sqlite with its overhead. Also, why logarithmic btree's when you can have constant lookup. Not everything needs to be sorted.

Re:Ask HN: What is your preferred/most commonly used stack a... by gompertz on Wednesday December 08, 2021 @07:32PM (#29492447)
LAMP with Dart+Flutter. Less and less C/C++ on backend these days.
Re:Ask HN: What is your preferred/most commonly used stack a... by MrDresden on Thursday December 09, 2021 @04:00AM (#29495284)
Are you using D+F for the web or mobile?

If web, how would you say its production ready?

Re:Ask HN: What is your preferred/most commonly used stack a... by atemerev on Wednesday December 08, 2021 @04:48PM (#29490975)
Scala, Akka, Postgres (or sqlite for smaller projects).

Dash/python for frontend.

Re:Ask HN: What is your preferred/most commonly used stack a... by bradwood on Thursday December 09, 2021 @03:22AM (#29495085)
React SPA

AWS API G/W

AWS lambda running NestJS

AWS dynamodb

AWS SNS/SQS

Managed with SLS and terraform via gitlab and gitlab-ci

Re:Ask HN: What is your preferred/most commonly used stack a... by egberts1 on Wednesday December 08, 2021 @12:13PM (#29487427)
My preferred stack is:

- Linux OS

- TCP Cubic

- nftables

- BPF

so i can host my Suricata, Zeek, and Snort.

Re:Ask HN: What is your preferred/most commonly used stack a... by winkv on Wednesday December 08, 2021 @01:58PM (#29488825)
backend:golang, sqlite

frontend:html,bulma css, cash js

deployment:terraform

Re:Ask HN: What is your preferred/most commonly used stack a... by 1cvmask on Wednesday December 08, 2021 @12:47PM (#29487921)
If you want to sell on premise enterprise software then Java is a big plus.

Also if you plan on exiting the company to a strategic buyer then your stack will come up in the due diligence and if it is a stack they are not familiar with then they can call off the deal. That is another, minor, reason why enterprise software companies chose Java.

But stacks are always a moving target. Todays hipster stack might be tomorrows mainstream. Postgres was an obscurity compared to MYSQL in the early 2010s and it has picked up tremendous stream since then.

And getting product market fit is more important than choosing the right stack. You can always use duct tape if you get lucky enough to have problems with scaling.

Re:Ask HN: What is your preferred/most commonly used stack a... by vb6sp6 on Wednesday December 08, 2021 @04:21PM (#29490684)
The best choice is what you are already familiar with. And it you aren't familiar with anything, any one of the popular frameworks will work.
Re:Ask HN: What is your preferred/most commonly used stack a... by Trex_Egg on Thursday December 09, 2021 @01:06AM (#29494353)
best