0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Single server setup

0
Posted at

Buidling Single server set up

Single server setup

  • ① HTTP リクエスト:フロントエンド(ブラウザ/アプリ) → サーバ
  • ② アクセス:サーバ → データベース
  • ③ 結果:データベース → サーバ
  • ④ レスポンス:サーバ → クライアント
  • ⑤ レンダリング:クライアント側で表示

Sample Responce

GET /users/12

{
  "id": 12,
  "name": "John Doe",
  "email": "john@example.com",
  "created_at": "2026-04-24"
}

Single server setup with DNS resolve and DB

ステップ説明(簡略版)

ステップ 処理
① ブラウザがDNSキャッシュを確認
② キャッシュあれば → ⑤へ(DNS問い合わせスキップ)
③ キャッシュなければDNSサーバへ問い合わせ
④ DNSサーバからIPアドレスを取得
⑤ サーバへHTTPリクエスト送信
⑥ サーバがデータベースへアクセス
⑦ データベースから結果を取得
⑧ サーバがHTTPレスポンスを返却
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?