DEV Community

Ahmed Ali Thabet
Ahmed Ali Thabet

Posted on

I Built a Laravel-Inspired Framework in Node.js (Here’s Why) - NetPress

For years, I’ve been working with Laravel.

It gave me something most Node.js ecosystems don’t:
structure, clarity, and speed of development.

But every time I switched to Node.js, I felt like I was rebuilding the same things:

routing structure
middleware flow
validation
auth patterns
project organization

Everything felt… fragmented.

So I decided to build my own solution.

The Problem

Node.js is powerful, but:

too many choices
no clear “standard” architecture
a lot of boilerplate
every project looks different

Compare that to Laravel:

consistent structure
batteries included
clean developer experience

That’s what I wanted in Node.

The Idea

Build a framework that feels like Laravel…
but runs on Node.js.

That’s how Netpress started.

What I Focused On

Instead of building “just another framework”, I focused on:

  1. Predictable Structure

Every project follows a clear pattern:

Controllers
Middleware
Services
Models

No chaos. No guessing.

  1. Clean Routing

Grouping, middleware, prefixes… just like Laravel:

router.group(authMiddleware, (router) => {
  router.get('/me', meHandler);
});
Enter fullscreen mode Exit fullscreen mode
  1. Middleware Pipeline

Simple and powerful request flow:

auth
rate limiting
logging

  1. Rendering Support

You can use:

Vue
React

Server-driven or hybrid apps without overcomplication.

  1. Developer Experience

Commands, structure, and conventions that make you move fast:

generate app
setup rendering
run migrations
seed data
Why Not Just Use Express?

You can.

But then you’ll rebuild:

structure
conventions
patterns
architecture decisions

Again… and again.

Netpress tries to remove that friction.

A Real Example

Instead of wiring everything manually:

app.use(authMiddleware);
app.get('/me', handler);
Enter fullscreen mode Exit fullscreen mode

You get a structured flow:

router.group(authMiddleware, (router) => {
  router.get('/me', meHandler);
});
Enter fullscreen mode Exit fullscreen mode

What I Learned

Building this taught me:

developers don’t just need tools, they need opinionated structure
consistency beats flexibility in most real-world apps
good DX is underrated

Here’s the docs:
https://admicaa.github.io/netpress-docs/

Would love to hear your thoughts.

Top comments (0)