frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Tell HN: A production-ready "Hello World" is now ~600 files

4•thesssaism•1h ago
I recently ran an audit on our latest full-stack repo to figure out why "spinning up a new project" felt like such a heavy lift. I counted every file required just to reach a "production-ready" baseline—before writing a single line of unique feature code.

The count was roughly 600 files.

To be clear, I'm not talking about a `create-react-app` sandbox. I mean a compliant, scalable SaaS foundation: Next.js frontend, Node.js/NestJS backend, mobile wrapper, CI/CD pipelines, and enough security config to pass a SOC2 audit.

It sounds ridiculous (and honestly, it feels ridiculous), but when I broke it down, I couldn't find many files I was willing to delete.

Here is where the bloat comes from:

First, the "Configuration Hell" accounts for about 40-50 files alone. We aren't just dealing with `package.json` anymore. It's `tsconfig.json` (base), `tsconfig.build.json`, `tsconfig.spec.json`... multiplied across frontend, backend, and shared libraries. Then add `.eslintrc.js`, `.prettierrc`, `jest.config.js`, `vitest.config.ts`, `nodemon.json`, and the Docker-compose variants for dev, test, and prod.

Then there’s the DevOps and Quality layer. We have roughly 20-30 files for GitHub Actions workflows (lint, test, build, deploy, semantic release), Husky hooks (pre-commit, commit-msg), and pull request templates.

But the real multiplier is the separation of concerns. In a modern monorepo, a "Hello World" isn't just `console.log`. It’s: - A NestJS module (Controller, Service, Module, DTO, Entity, Unit Test, E2E Test). - A Next.js slice (Page, Component, Type definition, API client wrapper). - A shared library entry.

We found that adding a single "minimal" API endpoint usually touches 5-7 files just to maintain architectural standards.

The trade-off is painful. On one hand, this setup handles the things we used to forget: security headers, proper logging, consistent error handling, and type safety across boundaries. It prevents the "spaghetti code" distinct to startups that scale too fast.

On the other hand, the cognitive load of managing a 600-file "empty" project is massive. Updating dependencies becomes a chore because a major version bump in one tool (like ESLint) cascades through forty config files.

I’m curious how others are handling this "starting line" complexity.

Are you accepting the boilerplate as the cost of doing business? Or have you found a way to strip this down without sacrificing the compliance/safety guardrails that enterprise clients demand?

It feels like we've over-engineered the entry point of software development, but I’m not sure what the alternative is for a serious project. We tried going "lean" initially, but spent weeks retrofitting auth and testing harnesses later—which was worse.

Is there a middle ground I'm missing, or is ~600 files just the new normal?

Comments

apothegm•1h ago
The JS ecosystem is a hellscape. But there’s no reason you have to use it.

I’ll stick with straightforward Python frameworks and HTMX with a bit of vanilla JS sprinkled on top. Most importantly: no JS builds, no deps that can’t be included with a single CDN-loaded script tag.

melezhik•1h ago
> Then there’s the DevOps and Quality layer. We have roughly 20-30 files for GitHub Actions workflows (lint, test, build, deploy, semantic release), Husky hooks (pre-commit, commit-msg), and pull request templates.

On that , I have created http://deadsimpleci.sparrowhub.io/doc/README trying to minimize code to just normal Python/bash scripts instead of tons of yaml files …

melezhik•1h ago
IMHO, generally speaking it’s not just a JS. The declarative approach has its toll we end up having a lot of configurations files instead of having (one or two) normal imperative script

Show HN: FreeLLMRouter – Live ranked list of OpenRouter free models

https://www.jacobchak.com/blog/free-llm-router
1•jacobchak•1m ago•0 comments

Glimmer by Google

https://design.google/library/transparent-screens
1•ms7892•1m ago•0 comments

Why "Land of Assets" Standardizes on glTF for the Master Asset

https://benhouston3d.com/blog/why-land-of-assets-standardizes-on-gltf
1•bhouston•2m ago•0 comments

The Musidex: A physical music library for the streaming era

https://hannahilea.com/blog/musidex/
1•zdw•4m ago•0 comments

I'm Glad the Internet Wasn't Watching My Worst Breakup

https://yinsuboaster.substack.com/p/im-glad-the-internet-wasnt-watching
1•areoform•4m ago•0 comments

Show HN: High-performance Hex editor in C# with a custom DSL for binary patching

https://github.com/pumpkin-bit/EUVA
1•falkerdev•6m ago•1 comments

Unsinkable metal tubes could lead to resilient ships and floating platforms

https://techxplore.com/news/2026-01-unsinkable-metal-tubes-resilient-ships.html
1•PaulHoule•6m ago•0 comments

Cloud Deployment Headaches in AI Era

https://z11.dev
1•Omakidx•7m ago•1 comments

Stop Calling Optimization "Innovation."

https://werd.io/stop-calling-optimization-innovation/
1•speckx•8m ago•0 comments

Chief: Delightfully Simple Agentic Loops

https://www.geocod.io/code-and-coordinates/2026-02-18-introducing-chief/
1•mjwhansen•8m ago•0 comments

New Tool Makes 3D Printed PCBs, Fast

https://hackaday.com/2026/02/19/new-tool-makes-3d-printed-pcbs-fast/
1•greesil•8m ago•0 comments

We built a free tool that audits how AI agents see your website

https://clarvia.dev/
1•lr001328•9m ago•2 comments

Show HN: Tauri2 Any WebApp Wrapper

https://github.com/AtmanActive/Tauri2_Any_WebApp_Wrapper
1•atmanactive•9m ago•0 comments

Ambani Joins Adani, Tata with Plans to Invest $110B in AI

https://www.bloomberg.com/news/articles/2026-02-19/ambani-s-reliance-to-invest-110-billion-in-ai-...
1•newusertoday•9m ago•0 comments

Made codex app run on Windows

https://twitter.com/i/status/2024433646661451875
1•SubratGupta•10m ago•1 comments

Show HN: Use SQL to Query Your Claude/Copilot Data via DuckDB

https://duckdb.org/community_extensions/extensions/agent_data
1•axsaucedo•10m ago•0 comments

Mass Call: Laid-Off Tech Workers and Allies

https://wwwrise.org/
4•burkaman•10m ago•1 comments

The Relaxation Paradox: Why Zoning Out Doesn't Always Restore Your Energy

https://www.scotthyoung.com/blog/2026/02/17/relaxation-paradox/
1•samuel246•13m ago•0 comments

Repeating Prompts

https://daoudclarke.net/2026/02/19/repeating-prompt
2•daoudc•13m ago•0 comments

High-speed video system uses sensors, infrared illumination to track insects

https://phys.org/news/2024-01-high-speed-video-sensors-infrared-illumination.html
1•mhb•13m ago•0 comments

Clerk Is Down?

https://status.clerk.com
2•sarreph•14m ago•0 comments

The Pillars of Agent Security

https://sibylline.dev/articles/2026-02-15-agentic-security/
2•CuriouslyC•14m ago•0 comments

How Claude Code agent teams work under the hood

https://www.claudecodecamp.com/p/claude-code-agent-teams-how-they-work-under-the-hood
1•aray07•15m ago•0 comments

The Missing Semester of Your CS Education (2026)

https://missing.csail.mit.edu/?#
2•anishathalye•16m ago•1 comments

The Mythical Agent-Month

https://wesmckinney.com/blog/mythical-agent-month/
3•eddyzh•16m ago•0 comments

Important PSA: Regarding sitewide rules and automated admin moderation

https://old.reddit.com/r/WhitePeopleTwitter/comments/1k9e9vl/important_psa_regarding_sitewide_rul...
1•embedding-shape•19m ago•2 comments

Freelancer Empathy

https://seths.blog/2026/02/freelancer-empathy/
2•speckx•19m ago•0 comments

An intuitive approach for understanding electricity [video]

https://www.youtube.com/watch?v=X_crwFuPht4
1•thunderbong•19m ago•0 comments

A Parallel Internet

https://k2xl.substack.com/p/a-parallel-internet
2•k2xl•20m ago•0 comments

Blue Owl Halts Redemptions on Private Credit Retail Fund

https://www.bloomberg.com/news/articles/2026-02-18/blue-owl-loan-sale-raises-1-4-billion-for-inve...
2•zerosizedweasle•22m ago•3 comments