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.
 
 
 
 
 
cracklesparkle 61339f4c26 Revert 10 months ago
backend_fastapi pd join fixed 12 months ago
frontend_reactjs Revert 10 months ago
src first init 12 months ago
.gitignore crud api 12 months ago
docker-compose.yml Make dist as volume at compose 10 months ago
main.py General 12 months ago
readme.md Update README 10 months ago
requierements.txt General 12 months ago
test.html first init 12 months ago
test.py first init 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

  1. Запустить билд контейнера:
docker compose up -d --build --no-deps client

Локально

⚠ Рекомендуется Node LTS версии ^20.15.1

В frontend_reactjs:

  1. Установить зависимости:
npm install
  1. Запуск vite в dev-режиме:
npm run dev

или в production-ready serve:

npm serve