#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. Dotan Nahum |
💡 While we like to support new, promising projects, it's not as if it hasn't been done before though. AdonisJS and Sails are good options in this space. |
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. Nate Anderson |
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 |
Node.js 18.x Runtime Now Available on AWS Lambda — Now that Node 18 the active LTS release, it’s getting supported by all of the major platforms (including Vercel). The AWS SDK for JavaScript has also been upgraded to v3 (here’s why that matters) and there’s added support for ES module resolution via a Suraj Tripathi (AWS) |
IN BRIEF:
|
Producing Native ES Modules on Node.js with TypeScript — First appearing in 2021, this handy blog post from JavaScript’s resident doctor has undergone a 2022 update. Dr. Axel Rauschmayer |
Tutorial: Add SSO & Access Control to Your Node.js App Userfront sponsor |
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. Lars Wächter |
🛠 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. Joshua Wise |
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. Eugene Terehov |
Replace Your Notification Microservice with a SaaS Solution — Integrate with any communication provider. Twilio, Slack, Teams, WhatsApp, Discord, Sparkpost, Sendgrid, Mailgun, Mandrill… Courier.com sponsor |
aoi.js 6.0: String-Based Package to Create Discord Bots — Has a focus on making bots easily customizable by non-developers (akin to mIRC bot scripting back in the day) by way of defining most bot behavior in specially formatted strings rather than JavaScript. GitHub repo. 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.” Carmine DiMascio |
|
|
🕰 ICYMI (Some older stuff that may catch your eye...)
|