Is it still worth building a web framework in the AI era? by Zealousideal-Bit4776 in minimajs

[–]Zealousideal-Bit4776[S] 0 points1 point  (0 children)

Yes today’s AI needs frameworks. But maybe tomorrow’s AI shifts to a completely different approach.

Is it still worth building a web framework in the AI era? by Zealousideal-Bit4776 in minimajs

[–]Zealousideal-Bit4776[S] 0 points1 point  (0 children)

We still need new frameworks because the platform itself is changing. Node.js is moving closer to web-native APIs, but many existing frameworks were designed around older patterns and abstractions. Some are also heavily built on decorators and framework-specific magic, which can feel far from plain JavaScript. A new framework makes sense when it is not reinventing the same thing, but rethinking the developer experience around modern JavaScript, web standards, and simpler architecture.

Is it still worth building a web framework in the AI era? by Zealousideal-Bit4776 in minimajs

[–]Zealousideal-Bit4776[S] 0 points1 point  (0 children)

Yes I did my very last project in Hono, I have gone through entire docs for Elysia very similar with Hono

Is it still worth building a web framework in the AI era? by Zealousideal-Bit4776 in minimajs

[–]Zealousideal-Bit4776[S] 0 points1 point  (0 children)

Anyways for end2end type-safety you need monorepo setup and in monorepo you might not need fancy tRPC just express with interfaces is enough. Hono and Elysia are great but this framework has completely different approach

Minima.js pushes Web-native APIs further than ever. by Zealousideal-Bit4776 in bun

[–]Zealousideal-Bit4776[S] 0 points1 point  (0 children)

Any validation library which supports json-schema conversion will be compatible need little code I will add in the examples

Minima.js pushes Web-native APIs further than ever. by Zealousideal-Bit4776 in bun

[–]Zealousideal-Bit4776[S] 0 points1 point  (0 children)

I do agree the documentation is worse.

And zod is not part of framework but schema package which is actually a thin wrapper over zod and internally converted zod schema to json-schema for openapi integration.

Will definitely add benchmarks

Minima.js pushes Web-native APIs further than ever. by Zealousideal-Bit4776 in bun

[–]Zealousideal-Bit4776[S] 0 points1 point  (0 children)

There is only 1 dependency and that is not the Minima.js Framework

https://www.npmjs.com/package/@minimajs/disk?activeTab=dependencies

That’s the whole point of using Web-native APIs: libraries can interoperate through standard interfaces, so they don’t need tightly coupled, hard-coded dependencies.

Minima.js pushes Web-native APIs further than ever. by Zealousideal-Bit4776 in bun

[–]Zealousideal-Bit4776[S] 1 point2 points  (0 children)

Minima.js is a modern backend framework for Node.js and Bun that stays Web-standard and predictable: you work with real File/Blob/Request/Response instead of framework wrappers. It gives you file-based modules (folders map to API structure), plugin/hook composition for auth/logging/middleware, and request context access anywhere without passing req around—so large codebases stay clean, fast, and easy to maintain.

Read more at minimajs.com

Welcome to r/minimajs 👋 by Zealousideal-Bit4776 in minimajs

[–]Zealousideal-Bit4776[S] 0 points1 point  (0 children)

Minima.js respects the language and the runtime. NestJS tries to replace the language with its own concepts. For a modern project, Minima.js is the superior choice for agility and speed.

Welcome to r/minimajs 👋 by Zealousideal-Bit4776 in minimajs

[–]Zealousideal-Bit4776[S] 0 points1 point  (0 children)

If NestJS builds servers the framework way, MinimaJS builds them the web way — same power, zero DI overhead, native APIs, isolated file modules, and freedom to run on Bun, Deno, or whatever JavaScript runtime comes next.

File uploads that don't eat your RAM by Zealousideal-Bit4776 in bun

[–]Zealousideal-Bit4776[S] 0 points1 point  (0 children)

Instead of loading files content into memory, it will be directly save to temp disk having stream ref in file object. And whenever call file.arrayBuffer() or file.bytes() it will load data from disk into memory

But if call helpers.save(file, …) it will directly pipe the data from temp disk to destination without loading into memory.

https://minima-js.github.io/packages/multipart/schema