Skip to content

kjpar0317/react-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-python

리액트-파이썬

client : React(TS) + Jotai + 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/

About

react-ts(17.X) jotai tailwindcss daisyui python sqlalchemy poetry aiomysql asyncio

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published