#464 — November 24, 2022
Hyperstack: A New Rails-Inspired Node.js Web Framework — I often hear people say they wished Node had a ‘full’ Web framework akin to Ruby on Rails, here’s a fresh attempt to do just that. Tread carefully; the paint is still fresh.
Node.js Architecture Pitfalls to Avoid — Beware: opinions ahead. It’s a little scattershot but the author, who has worked on numerous production Node.js apps, shares some hard earned wisdom on the use of globals, dependencies, and environment variables.
Design & Build APIs from the Ground Up — Join Scott Moss for this fresh video course exploring API design in Node. You’ll learn about ORMs, Prisma, routes and middleware, error handling, authentication, deployment, and more.
Frontend Masters sponsor
Suraj Tripathi (AWS)
When your npm package’s name looks too much like another package’s name, there can be problems even if you control both names! Luckily, the author got it sorted out by npm’s support in this case. “Never do anything on npm that you are not 100% sure about” is handy advice 😆
Dr. Axel Rauschmayer
Writing and Organizing Node API Tests The Right Way — The author presents an architecture for writing and organizing unit and integration tests focusing on the REST API use case. Jest, Supertest and Chai make up the testing stack.
🛠 Code & Tools
Better SQLite3 8.0: The ‘Fastest and Simplest’ SQLite3 Library — A bold claim but it’s been around for years and has a lot of users, so who are we to argue? It certainly has great docs. v8.0 brings SQLite up to SQLite 3.40.0, drops support for Node 10 and 12, and includes some fixes.
tslog 4.0: ‘Beautiful’ Logging with TypeScript Support — Featured packed, fully typed, can do stack traces via the native V8 API, show code frames, and more. Now supports both Node and the browser.
Replace Your Notification Microservice with a SaaS Solution — Integrate with any communication provider. Twilio, Slack, Teams, WhatsApp, Discord, Sparkpost, Sendgrid, Mailgun, Mandrill…
Akarui Development Team
express-openapi-validator 5.0: Auto-Validate Requests and Responses to an OpenAPI Spec — “Simply, install the validator onto your express app, point it to your OpenAPI 3 specification, then define and implement routes the way you prefer.”
↳ Node.js based forum software.
↳ Long standing promise-based HTTP client API.
↳ Rust-powered high-performance SVG renderer.
↳ Fast, efficient data store wrapper for the LMDB key/value store.
↳ Define Mongoose models using TypeScript classes.
↳ Watch an object or array for changes.
Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
Full Stack Engineer (EU Remote or Relocate to Berlin) — We’ve built a product thousands of people love (see Trustpilot if you don’t believe us). We need your help with React, GraphQL & TypeScript.
🕰 ICYMI (Some older stuff that may catch your eye…)
Microsoft’s Denver Brittain shows us how to get started with MongoDB Atlas and Azure Functions using Node.js.
Here are some ways to smoothly turn a monolithic Node.js codebase into a monorepo, while minimizing disruptions and risks.
Rishabh Rawat runs though some best practices for scaling your Node REST APIs.
This tutorial runs through six steps to create a complete and ‘pain-free’ Node testing environment.
Chimezie Enyinnaya dives into the repository pattern, explores its benefits, and demonstrates how to implement it with TypeScript and Node.js.