-
Redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
In building API, caching can be done using Redis Redis optimizes the APIs response time by storing and retrieving the data from the main memory of the server. It increases the performance of the database queries which also reduces access latency.
Error Handling middleware Whenever a server error occurs, Express.js detects it and, unless you have your own custom error handler, uses its built-in error handler to send a response to the client with the error message. This built-in error handling by express can be sometimes harmful by exposing config information to your API users which can be dangerous when app is on production. Not only do custom error handlers handle errors properly but also to correctly empty away any unused resources when the application starts up again. check out my article on Custom Error Handlers for how to implement this.