Laravel Passportを使用したPHPによるセキュアなAPIの構築

この記事はOluyemi Olususiがこちらで公開した記事(英語)を日本語化したものです。 モバイルアプリケーションのバックエンドを構築する場合や、最新のJavaScriptフレームワークを使用する場合は、RESTful APIを避けて通ることはできません。APIは、2つのソフトウェアプログラムが相互に通信するためのインターフェイスです。APIを使用した通信では、リクエスト間でセッション状態が保持されない点に注意が必要です。そのため、ユーザーを認証し、認可するためにトークンを使用する必要があります。 … more Read More

TypeScript delays ESM support for Node.js

TypeScript 4.5, a planned upgrade to Microsoft’s strongly typed language based on JavaScript, will not include support for ECMAScript modules in Node.js 12 after all. This capability was planned for TypeScript 4.5 when the beta was revealed on October … more Read More

How to Handle File Uploads from Node.js to Express

Recently I was developing a CLI in Node.js that would help make the process of writing articles in Markdown easier for my team. The flow required that a local .md file be parsed, formatted, converted to .docx , and then uploaded to Google Drive as a … more Read More

Chapter 10: Browser Wars

In June of 1995, representatives from Microsoft arrived at the Netscape offices. The stated goal was to find ways to work together—Netscape as the single dominant force in the browser market and Microsoft as a tech giant just beginning to consider the … more Read More

Announcing TypeScript 4.5 RC

Today we’re excited to announce our Release Candidate (RC) of TypeScript 4.5! Between now and the stable release of TypeScript 4.5, we expect no further changes apart from critical bug fixes. To get started using the RC, you can get it through NuGet, … more Read More