Fastify
{{Use mdy dates|date=November 2024}}
{{Short description|JavaScript framework}}
{{Infobox software
| name = Fastify
| logo = Fastify-landscape-outlined.svg
| author = {{ubl|Matteo Collina|Tomas Della Vedova}}
| developer = Platformatic, OpenJS and others
| released = {{start date and age|2016|09}}
| latest release version = {{wikidata|property|P348}}
| latest release date = {{wikidata|qualifier|mdy|P348|P577}}; {{time ago|{{wikidata|qualifier|raw|P348|P577}}}}{{wikidata|reference|mdy|edit|P348}}
| operating system =
| platform = Node.js
| programming language = JavaScript
| license = MIT License
| genre = Web framework
}}
Fastify is a performance-oriented backend web framework for Node.js, released as free and open-source software under an MIT License. Its development was inspired by Hapi and Express.{{cite web |df=mdy |title=Fastify home page |url=https://fastify.dev/ |access-date=2024-11-20}}
As a lightweight alternative to other Node.js web API frameworks,{{cite web |last=Dindi |first=Sandra |date=2023-03-22 |df=mdy |title=5 Node.js Packages to Build Your Next API |work=MakeUseOf |url=https://www.makeuseof.com/nodejs-build-api-packages/ |access-date=2024-11-20}}{{cite web |last=Mulders |first=Michiel |date=2020-10-19 |df=mdy |title=How to Create Your First REST API with Fastify |work=SitePoint |url=https://www.sitepoint.com/create-rest-api-fastify/ |access-date=2024-11-20}} benchmarks reveal it to be significantly faster.{{cite web |last=Lawson |first=Loraine |date=2023-10-11 |df=mdy |title=A Showdown Between Express.js and Fastify Web App Frameworks |work=The New Stack |url=https://thenewstack.io/a-showdown-between-express-js-and-fastify-web-app-frameworks/ |access-date=2024-11-20}}
History
Fastify was conceived by Matteo Collina while working at NearForm in 2015. Collina and Tomas Della Vedova created Fastify in September 2016.{{cite web |last=Collina |first=Matteo |date=2023-05-17 |df=mdy |title=A tale of community: How the quest for better performance led to Fastify and grew into Platformatic |department=Blog |work=Platformatic |url=https://blog.platformatic.dev/a-tale-of-community-how-the-quest-for-better-performance-led-to-fastify-and-grew-into-platformatic |access-date=2024-11-19 |quote=A few months later, in June 2016, while delivering a Node.js training course at Avanscoperta in Bologna, an attendee asked me how to get started working in Open Source. His name was Tomas Della Vedova, and by the end of the course, I asked him if he wanted to build this Node.js framework with me. By September, we landed the first commit of what would later become Fastify.}} According to GitHub, the initial release of Fastify was version 0.1.0 on October 17, 2016.{{cite web |df=mdy |title=Release v0.1.0 |department=fastify/fastify |work=GitHub |url=https://github.com/fastify/fastify/releases/tag/v0.1.0 |access-date=2024-11-19}}
Building upon the technical foundations of Fastify, Collina and Luca Maraschi created Platformatic in 2022, to support a "batteries-included" developer experience for building APIs (REST/OpenAPI or GraphQL).{{cite web |last=Scott |first=Josh |date=2023-06-01 |df=mdy |title=Platformatic secures $3.5 million, launches tech to simplify back-end development for enterprises |work=BetaKit |url=https://betakit.com/platformatic-secures-3-5-million-launches-tech-to-simplify-back-end-development-for-enterprises/ |access-date=2024-11-20}}{{cite web |last=Williams |first=Marie |date=2023-06-01 |df=mdy |title=Platformatic Raises $3.5M to Help Developers and Enterprises Evolve Microservices Without a Costly Rearchitecture of Legacy Backend |work=Business Wire |url=https://www.businesswire.com/news/home/20230531006036/en/Platformatic-Raises-3.5M-to-Help-Developers-and-Enterprises-Evolve-Microservices-Without-a-Costly-Rearchitecture-of-Legacy-Backend |access-date=2024-11-20}}
Features
{{unreferenced section|date=May 2025}}
Core features include:
- Concentration on high-performance
- Extensibility
- JSON Schema validated routing
- Logging
- Developer friendly
- TypeScript ready
Popularity
See also
{{Portal|Free and open-source software}}
- {{slink|Comparison of server-side web frameworks|JavaScript}}
- Socket.IO
References
{{Reflist}}
External links
- {{Official website}}
- {{GitHub|fastify/fastify}}
{{Web frameworks}}
{{NodeJs}}
{{web-software-stub}}