2023/02/14 / 最終更新日時 : 2023/05/20 米良太 Laravel Laravel Lighthouse(GraphQL) GraphQLとは API用DB操作言語。クライアントアプリケーションから呼び出す。 GraphQLの特徴 従来のAPI APIで取得するデータを定義 クライアントに取って不必要なデータまで取得してしまう。 必要な分だけ […]
2022/08/26 / 最終更新日時 : 2022/08/26 米良太 CodeIgniter CodeIgniter View プロジェクトフォルダ └views └dir1 └test.php $this->load->view( ’/dir1/test’, [ ’item1′ => ‘aaa’, ’item2′ => ‘bb […]
2022/08/26 / 最終更新日時 : 2022/08/26 米良太 CodeIgniter CodeIgniter ルーティング プロジェクトフォルダ └config └routes.php $route[‘route/path1’] = ‘controller1/method1’; $route[‘route/path2’] = ‘contro […]
2022/05/02 / 最終更新日時 : 2022/05/02 米良太 Node.js Node.js Express passport passportとは 認証用ミドルウェア ユーザーのログイン/非ログインに応じてページの表示を切り替える等が可能
2022/05/02 / 最終更新日時 : 2022/05/02 米良太 Node.js Node.js Express ルーティング ディレクトリ構成 アプリディレクトリ └ routes └ index.js └ views └ index.ejs └ login.ejs └ register.ejs └ app.js ルーティング処理 ルー […]
2022/05/02 / 最終更新日時 : 2022/05/02 米良太 Node.js Node.js Express 設定 インストール npm install -g express-generator アプリの雛形作成 express --view=ejs sample サーバー起動 node […]
2022/05/02 / 最終更新日時 : 2023/02/09 米良太 Node.js Node.js module module ※node_test.js module.exports.hello = function() { console.log(‘Hello!’); } module.exports. […]
2022/04/30 / 最終更新日時 : 2022/05/07 米良太 Node.js Node.js Sequelize Sequelizeとは ORM PostgreSQL、MySQL、SQLite、MSSQL対応 インストール ORM本体 npm install sequelize –save バージョン node_modules/. […]
2021/12/22 / 最終更新日時 : 2022/04/21 米良太 Laravel Laravel echo-server Laravel-echo-server Nodejs with socket.ioで作られたLaravel用 WebScoketサーバー インストール npm install -g laravel-echo-server […]
2021/10/30 / 最終更新日時 : 2021/11/09 米良太 API Stripe PaymentIntent 請求〜決済 請求情報作成(php) ※laravel use Stripe\PaymentIntent; Stripe::setApiKey('XXXXXXXXXXXXX'); Stripe::setAp […]