The Problem
Tags: #node #typescript #webdev #programming #tutorial
After years of Next.js, going back to Express felt like traveling back in time:
- TypeScript? Configure it yourself
- Route structure? Copy from old repos
- Middleware? Install 5 different packages
- Prisma? More setup
The Solution
Fastay - file-based routing for Node.js:
src/
├── api/
│ ├── hello/
│ │ └── route.ts # → /api/hello
│ ├── users/
│ │ └── route.ts # → /api/users
│ └── products/
│ └── route.ts # → /api/products
What I Learned
- How routing actually works under the hood
- Middleware chain architecture
- TypeScript generics at a deeper level
- Documentation is 50% of the work
What's Next
- [ ] Plugin system
Try It
npm install fastay
Top comments (0)