Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,499 for First (0.03 seconds)

  1. docs/uk/docs/tutorial/first-steps.md

    # Перші кроки { #first-steps }
    
    Найпростіший файл FastAPI може виглядати так:
    
    {* ../../docs_src/first_steps/tutorial001_py310.py *}
    
    Скопіюйте це до файлу `main.py`.
    
    Запустіть live-сервер:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/security/first-steps.md

    # Security - First Steps { #security-first-steps }
    
    Let's imagine that you have your **backend** API in some domain.
    
    And you have a **frontend** in another domain or in a different path of the same domain (or in a mobile application).
    
    And you want to have a way for the frontend to authenticate with the backend, using a **username** and **password**.
    
    We can use **OAuth2** to build that with **FastAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/first-steps.md

    # First Steps { #first-steps }
    
    The simplest FastAPI file could look like this:
    
    {* ../../docs_src/first_steps/tutorial001_py310.py *}
    
    Copy that to a file `main.py`.
    
    Run the live server:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/first-steps.md

    # 첫걸음 { #first-steps }
    
    가장 단순한 FastAPI 파일은 다음과 같이 보일 것입니다:
    
    {* ../../docs_src/first_steps/tutorial001_py310.py *}
    
    위 코드를 `main.py`에 복사합니다.
    
    라이브 서버를 실행합니다:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
                 Searching for package file structure from directories
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 15K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/first-steps.md

    # İlk Adımlar { #first-steps }
    
    En sade FastAPI dosyası şu şekilde görünür:
    
    {* ../../docs_src/first_steps/tutorial001_py310.py *}
    
    Yukarıdakini `main.py` adlı bir dosyaya kopyalayın.
    
    Canlı sunucuyu çalıştırın:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/first-steps.md

    # Erste Schritte { #first-steps }
    
    Die einfachste FastAPI-Datei könnte wie folgt aussehen:
    
    {* ../../docs_src/first_steps/tutorial001_py310.py *}
    
    Kopieren Sie das in eine Datei `main.py`.
    
    Starten Sie den Live-Server:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/first-steps.md

    # 第一步 { #first-steps }
    
    最簡單的 FastAPI 檔案可能看起來像這樣:
    
    {* ../../docs_src/first_steps/tutorial001_py310.py *}
    
    將其複製到一個名為 `main.py` 的文件中。
    
    執行即時重新載入伺服器(live server):
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
                 Searching for package file structure from directories
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/security/first-steps.md

    # 보안 - 첫 단계 { #security-first-steps }
    
    어떤 도메인에 **backend** API가 있다고 가정해 보겠습니다.
    
    그리고 다른 도메인에 **frontend**가 있거나, 같은 도메인의 다른 경로에 있거나(또는 모바일 애플리케이션에 있을 수도 있습니다).
    
    그리고 frontend가 **username**과 **password**를 사용해 backend에 인증할 수 있는 방법이 필요하다고 해봅시다.
    
    **FastAPI**와 함께 **OAuth2**를 사용해서 이를 구현할 수 있습니다.
    
    하지만 필요한 작은 정보 조각들을 찾기 위해 길고 긴 전체 스펙을 읽느라 시간을 쓰지 않도록 하겠습니다.
    
    보안을 처리하기 위해 **FastAPI**가 제공하는 도구들을 사용해 봅시다.
    
    ## 어떻게 보이는지 { #how-it-looks }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/security/first-steps.md

    # 安全性 - 入門 { #security-first-steps }
    
    想像你有一個部署在某個網域的後端 API。
    
    還有一個前端在另一個網域,或同一網域的不同路徑(或是行動應用程式)。
    
    你希望前端能用使用者名稱與密碼向後端進行身分驗證。
    
    我們可以用 OAuth2 搭配 FastAPI 來實作。
    
    但不必通讀整份冗長規格只為了找出你需要的幾個重點。
    
    就用 FastAPI 提供的工具處理安全性。
    
    ## 看起來如何 { #how-it-looks }
    
    先直接跑範例看效果,再回頭理解其原理。
    
    ## 建立 `main.py` { #create-main-py }
    
    將範例複製到檔案 `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## 執行 { #run-it }
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/security/first-steps.md

    # 安全 - 第一步 { #security-first-steps }
    
    假设你的**后端** API 位于某个域名下。
    
    而**前端**在另一个域名,或同一域名的不同路径(或在移动应用中)。
    
    你希望前端能通过**username** 和 **password** 与后端进行身份验证。
    
    我们可以用 **OAuth2** 在 **FastAPI** 中实现它。
    
    但为了节省你的时间,不必为获取少量信息而通读冗长的规范。
    
    我们直接使用 **FastAPI** 提供的安全工具。
    
    ## 效果预览 { #how-it-looks }
    
    先直接运行代码看看效果,之后再回过头理解其背后的原理。
    
    ## 创建 `main.py` { #create-main-py }
    
    把下面的示例代码复制到 `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top