Caching is an important consideration for any application. If done correctly, it can help improve the performance of the application. Fastify Redis Cache setup can help developers take care of caching requirements for a Fastify Read more…
Authentication is an absolute necessity in any application exposed to users. We need to make sure that the user trying to access our application is an actual user. In other words, we have to make Read more…
Fastify hooks allow us to listen to specific events in the application or in the request response cycle. One of the most useful hooks is the Fastify PreHandler Hook. Fastify PreHandler Hook is one of Read more…
While TypeORM is primarily known as an ORM for SQL databases such as PostgreSQL, MySQL etc, it also provides excellent support for NoSQL database such as MongoDB. The great part is that the TypeORM MongoDB Read more…
In any reasonably realistic data model, there are bound to be relations between tables or entities. ORMs also provide way to developers to describe these entity relations in a programmatic approach. TypeORM Entity Relations is Read more…
Fastify is a Node-based HTTP Framework. As per the official claim, Fastify is one of the fastest web frameworks out there. It is also highly extensible. In this post, we are going to learn how Read more…
In Javascript, everything is an object. Similarly, everything in Fastify is a plugin. Basically, plugins form the backbone of Fastify. And hence, it is very important to understand the basics of the Fastify Plugin System. Read more…
Developers always strive to build high-performance applications with minimal infrastructure cost. Usually, it is a trade-off between the two. However, Fastify is a web framework that aims to win on both of these factors. In Read more…
Database Views are a handy tool to extract of a subset of the database. Database views can simplify the complexity of run-time queries by extracting the data into a separate into a sort of virtual Read more…