Инициализация проекта на FastAPI

This commit is contained in:
2024-07-31 16:45:43 +09:00
commit ece09af415
4 changed files with 1351 additions and 0 deletions

15
readme.md Normal file
View File

@ -0,0 +1,15 @@
1. Установка python с офф сайта
2. Установка poetry
pip install poetry
3. Создание папки проекта и добавить в него файл pyproject.toml с данными
[tool.poetry]
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
4. Установка poetry.lock от pyproject
poetry install
5. Добавление библиотек через poetry
poetry add fastapi uvicorn[standart] pydantic-settings sqlalchemy[asyncio] aioodbc
6. Создаем гит проект для нашего приложения
git init
7. Добавляем файл .gitignore