Matteo CollinaforPlatformatic Blogblog.platformatic.dev·Mar 21, 2024Building a Micro HTMX SSR FrameworkIn the Movie Quotes App Tutorial tutorial from Platformatic's documentation suite, we walked through building a multi-tier application with the service layer built on Fastify backed by Platformatic DB and the frontend built on Astro. In this tutorial...Discuss·1 like·2.2K readshtmx
Matteo CollinaforPlatformatic Blogblog.platformatic.dev·Mar 12, 2024Fastify Fundamentals: Introducing Fastify into your Stack for Scalable Backend DevelopmentWhat is Fastify? Fastify is a cutting-edge open-source web framework for Node.js, known for its emphasis on speed, efficiency, and an excellent developer experience. Fastify is part of the OpenJS Foundation. Fastify Activity Here is a snapshot of Fas...Discuss·280 readsfastify
Matteo CollinaforPlatformatic Blogblog.platformatic.dev·Mar 7, 2024Fastify Fundamentals: Quick-starting Hooks And DecorationsGreat code should be clean, understandable, and easily modifiable. This is why every Node.js developer should learn how to add hooks and decorators to their code. Decorators enable you to enhance the functionalities of your routes. Hooks, on the othe...Discuss·546 readsfastify
Philippe Charrièrek33g.hashnode.dev·Mar 7, 2024GenAI streaming API with LangChainJS, Ollama and FastifyIn the previous blog post (Let's chat about programming with LangChainJS and Ollama), we saw how to use LangChainJS with Node.js to prompt Ollama. Today, we will create a streaming API from our source code with the help of Fastify. Like the previous ...Discuss·1 like·99 readsAI experiments with Ollama on a Pi5genai
Matteo CollinaforPlatformatic Blogblog.platformatic.dev·Feb 27, 2024Fastify Fundamentals: A Quick Guide to Plugins and Encapsulation with PlatformaticFastify enables developers to build complex Node.js applications and specify exactly how they want their applications to perform. This is made possible through the use of various plugins. The fastify-plugin utility helps developers publish hooks and ...Discuss·248 readsfastify
Matteo CollinaforPlatformatic Blogblog.platformatic.dev·Feb 23, 2024Fastify Fundamentals: How to Validate API ResponsesValidation is an important aspect of API development as it helps you check whether an API is working as expected, whether it returns the right data quickly, and if it meets security requirements. Developers who use Fastify need to remain aware of how...Discuss·575 readsplatformatic
Matteo CollinaforPlatformatic Blogblog.platformatic.dev·Feb 13, 2024Fastify Fundamentals: Building Your First RouteFastify is a robust framework for Node.js developers to build neat, secure, and scalable applications. It has internal infrastructure to help with logging, testing, and error handling. In this blog, we will teach you how to use factories and plugins,...Discuss·1 like·501 readsfastify
Theodore Vorillasvorillaz.hashnode.dev·Jan 25, 2024How to Automatically Consume RESTful APIs in Your Front EndThe full working code for this tutorial is available on GitHub. The Problem. One of the tasks that I've worked on extensively in the past is designing, developing, deploying, and finally consuming numerous RESTful APIs, and I can tell you, this is on...DiscussReact
Matteo CollinaforPlatformatic Blogblog.platformatic.dev·Jan 22, 2024Handling Environment Variables in Node.jsEnvironment variable configuration is crucial for effective secret management and following of best practices such as the twelve-factor methodologies. This is why we recently hosted a masterclass exploring why managing configurations is important, ho...Discuss·1 like·3.5K readsplatformatic
Arjan Dhakalblog.arjandhakal.com.np·Jan 17, 2024Backend with Fastify — Part 5 (Fastify Concepts, Project Structure, Custom Plugins, Login Route, Swagger)Now that we have our database set up and seeded in part 4, it's crucial to grasp some key concepts of Fastify before diving into application development. You can find the complete code for this part here Fastify Concepts Lifecycle and Hooks Fastify o...Discuss·10 likesBackend with Fastifyfastify