並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 16 件 / 16件

新着順 人気順

fastifyの検索結果1 - 16 件 / 16件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

fastifyに関するエントリは16件あります。 node.jsToolsニュース などが関連タグです。 人気エントリには 『GitHub - fastify/fastify-nextjs: React server side rendering support for Fastify with Next』などがあります。
  • GitHub - fastify/fastify-nextjs: React server side rendering support for Fastify with Next

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

      GitHub - fastify/fastify-nextjs: React server side rendering support for Fastify with Next
    • GitHub - fastify/fastify-dx: Archived

      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

        GitHub - fastify/fastify-dx: Archived
      • Fastify DX というフルスタックなフレームワークは伸びるか?

        Fastify DX という、Node.js 製のフルスタックなフレームワークが発表されています。開発者は Jonas Galvez さんで、NearForm という Fastify の開発をスポンサーしている企業の方です。 同じく NearForm で働いている Fastify の作者として有名な Matteo Collina さんと一緒によく Twitter などで見かけます。 本記事では Fastify の概要と、この Fastify DX というフレームワークにをざっと見てみた感想を記述します。 リポジトリはこちら: Fastify について Fastify DX の前に Fastify について説明します。Fastify は Node.js 最速の Web フレームワークで、 Express.js や Koa.js の開発が落ち着いているのとは対象的に、現在も活発に開発されていま

          Fastify DX というフルスタックなフレームワークは伸びるか?
        • Fastify+TypeScript で新規プロジェクトを作成 | DevelopersIO

          Fastify Fastifyを使う予定があるので使ってみる。 NodeのWebフレームワーク Fastifyは、Nodeのフレームワークの中でハイパフォーマンスらしい。 fastify/fastify: Fast and low overhead web framework, for Node.js Getting Startedを動かす 公式のGetting Startedを参考にして、動かしてみよう。 fastify/fastify: Fast and low overhead web framework, for Node.js Getting Started 環境 $ node --version v14.16.0 プロジェクトを作成 $ mkdir fastify-sample $ cd fastify-sample/ $ yarn init -y $ yarn add fas

            Fastify+TypeScript で新規プロジェクトを作成 | DevelopersIO
          • Fastifyで作るAPIにZodでスキーマバリデーションをかけながら型定義と実用レベルのOpenAPI仕様を自動生成する | DevelopersIO

            Fastifyで作るAPIにZodでスキーマバリデーションをかけながら型定義と実用レベルのOpenAPI仕様を自動生成する REST APIを作成する際、OpenAPI仕様のYAMLを手書きするのは面倒ですよね。Zodで定義したバリデーションスキーマから、型定義やOpenAPI仕様を業務で使えるレベルで出力する方法を探ってみました。 こんにちは。CX事業本部Delivery部MADグループのきんじょーです。 最近Fastifyをよく触っています。 Expressのように軽量フレームワークですが、デフォルトでasync/awaitによる非同期処理をサポートしており、プラグイン形式でさまざまな機能をエコシステムから追加できる方式がとても使いやすい印象です。 FastifyでREST APIを開発する際に、Zodで定義したバリデーションスキーマを正として、それを元に型とOpenAPI仕様書と生成

              Fastifyで作るAPIにZodでスキーマバリデーションをかけながら型定義と実用レベルのOpenAPI仕様を自動生成する | DevelopersIO
            • The Thing About Fastify

              Nearly 15 years ago, Ryan Tomayko wrote The Thing About Git. It was a time where SVN was still heavily used. Few people understood why Git was so special and I wasn't among them at the time. Ryan's article captured the essence of Git and convinced me to make the switch. Multiple pieces have been written on the whys and hows of adopting Fastify, but it's 2022 and Express — the most traditional web

                The Thing About Fastify
              • Node.js環境で、PythonのFastAPIみたいなOpenAPIドキュメント自動生成を求めて、Fastifyに手を出してみる

                やりたかったこと Node.jsでAPIを書いたら、OpenAPIドキュメントを自動生成して欲しい 背景 APIを書く場合に使うFrameworkにおいてPythonではDjangoやFlaskが有名ですが、最近注目されているFrameworkにFastAPIというものがあります。FastAPIは、動作がNode.js並に早いとか習得が容易といった特徴もありますが、コードを書くと自動でOpenAPIドキュメントを作ってくれてwebインターフェースも用意してくれる機能がとても便利です。 詳しくは知りたい方は、ドキュメントを読んでください。 同じことがNode.jsで作ったAPIでもできないかなーと思って調べてみました。 Fastify使ったらできた Fastify + fastify-swaggerでできました。 適当に作ったサンプル やったこと 導入 fastifyとfastify-swa

                  Node.js環境で、PythonのFastAPIみたいなOpenAPIドキュメント自動生成を求めて、Fastifyに手を出してみる
                • GitHub - fastify/fastify-vite: Fastify plugin for Vite integration

                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                    GitHub - fastify/fastify-vite: Fastify plugin for Vite integration
                  • 未経験からのFastify入門|Fastifyとは - wiblok

                    概要 数あるNode.jsフレームワークの一つです。 特徴としては他の追随を許さない高速レスポンスです。 Fastifyは、Hapi、Restify、Expressに触発された新しいWebフレームワークで、JSONをレスポンスとして返却するHTTP APIを構築したとき、高速にレスポンスを返却するように設計されています。 次にJSONをレスポンスとして返却するサンプルコードを見てください。 非常にシンプルに書けます。 先ほども言ったようにExpressやHapiなどの影響を受けているので書き方もとても似ています。 サンプルコード 'use strict' const fastify = require('fastify')() fastify.get('/', function (req, reply) { reply.send({ hello: 'world' }) }) fastify

                      未経験からのFastify入門|Fastifyとは - wiblok
                    • GitHub - fastify/env-schema: Validate your env variables using Ajv and dotenv

                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                        GitHub - fastify/env-schema: Validate your env variables using Ajv and dotenv
                      • Easy, type-safe database Access in Fastify servers

                        Flexible architecturePrisma fits perfectly into your stack, no matter if you're building microservices or monolithic apps. Higher productivityPrisma's gives you autocompletion for database queries, great developer experience and full type safety.

                          Easy, type-safe database Access in Fastify servers
                        • 2022-06-15のJS: Safari 16 Beta、Fastify v4、Node.js 16のEOLの予定日の変更

                          JSer.info #596 - Safari 16 betaのリリースノートと変更点についての記事が公開されています。 Safari 16 Beta Release Notes | Apple Developer Documentation News from WWDC22: WebKit Features in Safari 16 Beta | WebKit プッシュ通知をPush APIがサポートされます。 Meet Web Push | WebKit CSSのContainer Queries、Subgrid、overscroll-behaviorプロパティのサポートが追加されています。 また、Shared Workerのサポート、FormのrequestSubmit()メソッドをサポートも追加されています。 Node.jsのウェブアプリケーションフレームワークであるFastify

                            2022-06-15のJS: Safari 16 Beta、Fastify v4、Node.js 16のEOLの予定日の変更
                          • Node.jsを7年使ったエンジニアがNode.js フレームワークを実際にコードで紹介!Express, Koa, Fastify and NestJS|エアークローゼット

                            Node.jsを7年使ったエンジニアがNode.js フレームワークを実際にコードで紹介!Express, Koa, Fastify and NestJS 改めましてこんにちは。エアークローゼットアドベントカレンダー2021 2日目は昨日に引き続きCTOの辻(Twitter)がお送りしていきます。 今回はNode.js使って7年目の私が、実際にエアークローゼットで使っているNode.jsでメジャーな4つのフレームワークについて紹介しつつ、具体的なコード例を出していけたらと思います!(主なコード例については後日追加予定です。) 今日書かないフレームワークエアークローゼットでは基本的に軽量なフレームワークを採用しているため、フルスタック系のフレームワークはありません。具体的には、Loopback、Meteor、Sailsなどです。また、Hapiも使っていないので書いておりません。それらのフレー

                              Node.jsを7年使ったエンジニアがNode.js フレームワークを実際にコードで紹介!Express, Koa, Fastify and NestJS|エアークローゼット
                            • FastifyのJSON SchemaからTypeScriptの型を生成して幸せになる

                              追記 より簡潔に型を定義できるようにアップデートが入ったようです!(少なくともv3.24.1以降)。 こちらの私の記事はほぼ用無しですね。 ※当記事の内容はすでに古く、最新のFastifyでは動作しない可能性があります。ご注意ください。 最新版のFastifyではSchemaからの型生成をより簡潔に行うことができるので、公式Documentをご参考にください。 概要 FastifyのJSON SchemaからTypeScriptの型を生成したらNode.jsでも比較的型安全なAPIを実現でき幸せになれるのではと思いがんばりました。 サンプルコード: GitHub Fastifyの紹介 最近Expressの代替としてよく名前を聞くFastify。パフォーマンスの良さやビルトインのバリデーション機能が売りとされていますが、それらの売りを支えているのがJSON Schemaです。 Fastify

                                FastifyのJSON SchemaからTypeScriptの型を生成して幸せになる
                              • fastifyでコントローラーを定義するときの手癖やフォルダ構造

                                fastify で 0 -> 1 することが年に何回かあるのだけど、その都度やり方を忘れて調べているのでメモしておく。 OGPはFastifyをコントロールしている人のイラスト by DALLEだ。 Routing をプラグインで表現する root ファイルで fastify.get("/users/:id", (req, res) => { res.status(200).send(""); }); のようにしてもいいけど、機能毎にモジュール化しておいた方があとでスケーリング効くので、ルーティングはモジュールとして定義したい。 そのためには FastifyPluginAsync を定義すればよく、 export const userFindRouter: FastifyPluginAsync = async (f, opts) => { f.get("/:id", {}, async (

                                  fastifyでコントローラーを定義するときの手癖やフォルダ構造
                                • GitHub - VladimirMikulic/route-list: Beautifully shows Express/Koa/Hapi/Fastify routes in CLI.

                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                    GitHub - VladimirMikulic/route-list: Beautifully shows Express/Koa/Hapi/Fastify routes in CLI.
                                  1

                                  新着記事