並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 12 件 / 12件

新着順 人気順

express.jsの検索結果1 - 12 件 / 12件

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

express.jsに関するエントリは12件あります。 javascript設計データベース などが関連タグです。 人気エントリには 『REST API Design Best Practices Handbook – How to Build a REST API with JavaScript, Node.js, and Express.js』などがあります。
  • REST API Design Best Practices Handbook – How to Build a REST API with JavaScript, Node.js, and Express.js

    I've created and consumed many API's over the past few years. During that time, I've come across good and bad practices and have experienced nasty situations when consuming and building API's. But there also have been great moments. There are helpful articles online which present many best practices, but many of them lack some practicality in my opinion. Knowing the theory with few examples is goo

      REST API Design Best Practices Handbook – How to Build a REST API with JavaScript, Node.js, and Express.js
    • Express.js Spam PRs Incident Highlights the Commoditization of Open Source Contributions - Socket

      Express.js Spam PRs Incident Highlights the Commoditization of Open Source ContributionsA mountain of spam PRs landed in the Express.js project repo after a popular YouTube tutorial used it as an example for contributing to open source. This put a spotlight on the mandate for job seekers to find a way to contribute to OSS. A tidal wave of spam pull requests recently hit the popular Express.js open

        Express.js Spam PRs Incident Highlights the Commoditization of Open Source Contributions - Socket
      • Express.js(node.js)からMySQLへの接続とCRUD操作 | アールエフェクト

        MySQLのインストール Homebrewを利用してMySQLのインストールを行います。MAC環境へのMySQLへのインストール方法については、下記の文書の前半を参考に行なってください。 注意点:MYSQLバージョン8の場合 MySQLのバージョンが8の場合はnode.jsからMysqlへの接続の際にError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server;といったエラーが表示されます。この場合はMysqlに接続し、下記の設定を行うことで回避することが可能です。 $ mysql -u root mysql> alter user root@localhost identified with mysql_native_password by ''

          Express.js(node.js)からMySQLへの接続とCRUD操作 | アールエフェクト
        • Express.jsでasync/awiatをいい感じに使う - ishikawa_pro's memorandum

          はじめに お久しぶりです。 最近は業務でTypeScriptを書き始めたりしてました。 今日は、会社のテックブログに載せるつもりで書いてみたけど、内容的に会社のブログで載せるほどの内容にならず、ボツにした記事をここで供養しようと思いますw ちなみに、会社のテックブログに書いた内容はこちら 👇 https://cam-inc.co.jp/p/techblog/407753782164718758 Express.jsのTIPS紹介 ということで今日は、Express.jsのtipsを1つ紹介します。 Express.jsとは まず簡単にExpress.jsの説明です。 Express.jsは、Node.js製の薄いWebアプリケーションフレームワークです。 https://expressjs.com/ja/ とりあえず、これだけ書けばサーバーを動かすことができます。 const expre

            Express.jsでasync/awiatをいい感じに使う - ishikawa_pro's memorandum
          • OpenAPI + Express.js + TypeScriptでAPI開発するTips

            事業開発部の龍島です。皆さんschema firstな開発してますか? フォルシアではwebアプリケーション開発にサーバサイドはExpress.js + TypeScript、クライアントサイドはNext.js(React.js) + TypeScriptを用いており、間をつなぐAPIインターフェースの定義にOpenAPI Specification(swagger)を用いてschema firstな開発を行っています。 ここ2年ほどschema firstな開発を行ってきましたがAPIのインターフェース定義を初めに設計することでサーバサイドとクライアントサイドの開発を複数人で同時に進めることができ、近年のフォルシアでも大規模化してきているwebアプリケーション開発に適した手法だと感じています。 web上にはschema firstで開発していこう!という記事は多くありますが、実際にOpe

              OpenAPI + Express.js + TypeScriptでAPI開発するTips
            • express.jsのcors対応 - Qiita

              はじめに APIサービスを構築する際に、Postmanなどのツールでは正常にアクセスできますが、 ブラウザからアクセスすると、エラーになる場合があります。 それはCORS(Cross-Origin Resource Sharing)対応をしていない可能性があります。 なぜなら、サイトのドメインとAPIサービスのドメインが違う場合は 先にoptionsメソッドで問い合わせをします。許可する場合のみ実際のAPIを通信します。 ※同じドメインの場合はCORSの対応は要らないです。 const app = express() const allowCrossDomain = function(req, res, next) { res.header('Access-Control-Allow-Origin', '*') res.header('Access-Control-Allow-Method

                express.jsのcors対応 - Qiita
              • Node.js(Express.js)環境でPrisma ORMを使いこなすための基礎 | アールエフェクト

                アプリケーションを構築する場合にはデータを保存するため必ずデータベースが必要となります。データベースを効率的に管理し、簡単に操作を行うためのツールがPrismaです。本文書はこれまでPrismaを利用したことがない人を対象にPrismaを利用する上での基本的な操作と設定方法について説明を行なっています。 Prismaはサーバからデータベースを操作する際にサーバとデータベースの間を仲介する役目を持っておりデータベースを操作する際はどのデータベースを利用しているか意識することなく共通のオブジェクトメソッドを利用することができます。本文書ではサーバにExpress.jsを利用して最初はデータベースのSQLiteを利用します。SQLiteで一通り動作を確認した後にクラウドサービスのSupabase(PostgreSQL)に変更します。データベースの変更を行なってもSQLiteで行なった処理と同じ操

                  Node.js(Express.js)環境でPrisma ORMを使いこなすための基礎 | アールエフェクト
                • Welcome to Fiber — an Express.js styled web framework written in Go with ️

                  Welcome to Fiber — an Express.js styled web framework written in Go with ️ Introduction Hello, World! 👋 Today we will deal with a young (but ambitious) Fiber web framework on Go and understand that this is not "yet another new framework, like X", but a great tool for creating rapid web applications. 📌 It will be a review article, dive into Fiber we will start further. Table of contents What is F

                    Welcome to Fiber — an Express.js styled web framework written in Go with ️
                  • express.jsアプリをFirebase Functionsにデプロイする - Qiita

                    expressアプリ追加 firebase-functionsの読み込み functions.https.onRequestイベントハンドラにアプリを渡す exportする // index.js const functions = require('firebase-functions'); const express = require('express'); const app = express(); app.get('/', (req, res) => { console.log(req.method, req.url); res.send({ status: true }); }); const api = functions.https.onRequest(app); module.exports = { api };

                      express.jsアプリをFirebase Functionsにデプロイする - Qiita
                    • Express.jsでJSON WEB TOKEN(JWT)の設定を行う | アールエフェクト Express.jsでJSON WEB TOKEN(JWT)の設定を行う

                      URL:/api/auth/registerにユーザ登録のPOSTリクエストがあった場合、データベースSQLiteまたはMongoDBのusersテーブル(or usersコレクション)にユーザ情報を保存するURL:/api/auth/loginにPOSTリクエストがあった場合、送られてくるユーザ情報のチェックを行い、登録済みのユーザである場合はTOKEN情報を返すURL:/api/auth/userにGETリクエストがあった場合ヘッダーに保存されているTOKENの確認を行い、問題がなれればユーザ情報を戻す JWTって難しいの? 本文書を読んでいる人の中にはJWT(JSON WEB TOKEN)は認証に関わっているため難しいのではないかという不安を持っている人もいるかと思いますがこの文書で記述しているJWTに関する処理はユーザ名とパスワードを使ってTokenを作成するだけです。Tokenの

                        Express.jsでJSON WEB TOKEN(JWT)の設定を行う | アールエフェクト Express.jsでJSON WEB TOKEN(JWT)の設定を行う
                      • Express.js Best Practices for Performance in Production - Sematext

                        What is the most important feature an Express.js application can have? Maybe using sockets for real-time chats or GraphQL instead of REST APIs? Come on, tell me. What’s the most amazing, sexy, and hyped feature you have in your Express.js application? Want to guess what mine is? Optimal performance with minimal downtime. If your users can’t use your application, what’s the point of fancy features?

                          Express.js Best Practices for Performance in Production - Sematext
                        • How to Deploy an Express.js Application to Vercel

                          Express.js is a popular server framework used with Node.js. In this guide, we will cover how to deploy an Express.js application to Vercel along with some additional topics you’ll need to consider when adapting to a serverless environment. Deploying on VercelDeploying an Express.js application on Vercel should require minimal or no code changes. Let’s use the steps below to create a new Express.js

                            How to Deploy an Express.js Application to Vercel
                          1

                          新着記事