You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.2 KiB

🔰 - 👩‍💻 🦮

👉 🔰 🎦 👆 ⚙️ FastAPI ⏮️ 🌅 🚮 ⚒, 🔁 🔁.

🔠 📄 📉 🏗 🔛 ⏮️ 🕐, ️ 🏗 🎏 , 👈 👆 💪 🚶 🔗 🙆 🎯 1️⃣ 👆 🎯 🛠️ 💪.

️ 🏗 👷 🔮 🔗.

👆 💪 👟 🔙 & 👀 👆 💪.

🏃 📟

🌐 📟 🍫 💪 📁 & ⚙️ 🔗 (👫 🤙 💯 🐍 📁).

🏃 🙆 🖼, 📁 📟 📁 main.py, & ▶️ uvicorn ⏮️:

$ uvicorn main:app --reload

<span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
<span style="color: green;">INFO</span>:     Started reloader process [28720]
<span style="color: green;">INFO</span>:     Started server process [28722]
<span style="color: green;">INFO</span>:     Waiting for application startup.
<span style="color: green;">INFO</span>:     Application startup complete.

🏆 💡 👈 👆⚖️ 📁 📟, ✍ ️ & 🏃 🌐.

⚙️ 👆 👨‍🎨 🤙 🎦 👆 💰 FastAPI, 👀 🐥 📟 👆 ✔️ ✍, 🌐 🆎 , ✍, ️.


FastAPI

🥇 🔁 FastAPI.

🔰, 👆 💪 💚 ⏮️ 🌐 📦 🔗 & ⚒:

$ pip install "fastapi[all]"

---> 100%

...👈 🔌 uvicorn, 👈 👆 💪 ⚙️ 💽 👈 🏃 👆 📟.

/// note

👆 💪 🍕 🍕.

👉 👆 🔜 🎲 🕐 👆 💚 🛠️ 👆 🈸 🏭:

pip install "fastapi[standard]"

uvicorn 👷 💽:

pip install "uvicorn[standard]"

& 🎏 🔠 📦 🔗 👈 👆 💚 ⚙️.

///

🏧 👩‍💻 🦮

📤 🏧 👩‍💻 🦮 👈 👆 💪 ⏮️ 👉 🔰 - 👩‍💻 🦮.

🏧 👩‍💻 🦮, 🏗 🔛 👉, ⚙️ 🎏 🔧, & 💡 👆 ⚒.

👆 🔜 🥇🔰 - 👩‍💻 🦮 ( 👆 👂 ▶️🔜).

🔧 👈 👆 💪 🏗 🏁 🈸 ⏮️ 🔰 - 👩‍💻 🦮, & ⤴️🎏 🌌, 🔛 👆 💪, ⚙️ 🌖 💭 ➡️ 🏧 👩‍💻 🦮.