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.
|
10 months ago | |
---|---|---|
backend_fastapi | 12 months ago | |
frontend_reactjs | 10 months ago | |
src | 12 months ago | |
.gitignore | 12 months ago | |
docker-compose.yml | 10 months ago | |
main.py | 12 months ago | |
readme.md | 10 months ago | |
requierements.txt | 12 months ago | |
test.html | 12 months ago | |
test.py | 12 months ago |
readme.md
Установка библиотек для питона pip install -r requierements.txt
html с использованием vuejs
в файле /backend_fastapi/.env добавить адрес базы данных
SQL_URL = "mssql+aioodbc://username:password@host/database?driver=ODBC+Driver+17+for+SQL+Server"
Инструкция по запуску фронтенда
Требуется создать .env
в корне frontend_reactjs
с путями до API эндпоинтов (см. в .env.example).
Docker
- Запустить билд контейнера:
docker compose up -d --build --no-deps client
Локально
⚠ Рекомендуется Node LTS версии ^20.15.1
В frontend_reactjs
:
- Установить зависимости:
npm install
- Запуск vite в dev-режиме:
npm run dev
или в production-ready serve:
npm serve