https://github.com/kjpar0317/vue-python
vue3 pinia vite tailwindcss daisiyui python sqlalchemy asyncio aiomysql poetry
https://github.com/kjpar0317/vue-python
aiomysql asyncio daisiyui pinia poetry python sqlachemy tailwindcss vite vue3
Last synced: 6 months ago
JSON representation
vue3 pinia vite tailwindcss daisiyui python sqlalchemy asyncio aiomysql poetry
- Host: GitHub
- URL: https://github.com/kjpar0317/vue-python
- Owner: kjpar0317
- Created: 2022-06-09T08:06:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-19T14:58:09.000Z (over 3 years ago)
- Last Synced: 2025-03-13T08:19:07.261Z (11 months ago)
- Topics: aiomysql, asyncio, daisiyui, pinia, poetry, python, sqlachemy, tailwindcss, vite, vue3
- Language: Vue
- Homepage:
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-python
VUE-파이썬
## client : Vue(JS) + Pinia + Vite + TailwindCSS + Daisyui
# client 패키지 설치
npm install
## server : Python + Poetry + FastAPI + sqlAlchemy
# server 패키지 설치
# Poetry 설치
윈도우 파워셀에서
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -
# Poetry 가상환경 폴더 변경
백앤드폴더에 .venv 폴더 생성 밑에 명령으로 가상환경 선택
poetry config virtualenvs.in-project true
poetry config virtualenvs.path "./.venv"
# Poetry 패키지 설치
poetry install
# Poetry 패키지 추가 (새로운 거 추가 시)
예) poetry add fastapi
# Python 실행
poetry run python main.py
#기타 참고
## tailwindcss
https://tailwindcss.com/docs/aspect-ratio
https://tailwindcomponents.com/
https://play.tailwindcss.com/
## 아이콘
https://heroicons.com/
# Docker
docker-compose up
## 밑에 것을 쓸 필요가
docker build . -t nginx-fastapi-vue-docker
docker run --rm -p 80:80 nginx-fastapi-vue-docker