Aurora-(16) 최종프로젝트 5 - ppt
본문
Aurora-(15)최종 프로젝트 4 - 각 화면에서 동작하는 기능을 구현한 파일
※state/auth.py """The authentication state.""" import reflex as rx from .base import State, User class AuthState(State): """The authentication state for sign up and login page.""" username: str password: str confirm_password: str def signup(self): #로그인을 위한 유저의 회원가입 정보 저장 with rx.session() as session: if len(self.password)list[message]: return self.messages #게시물 업로드 함수 async def post_tweet(self):..
Aurora-(14)최종 프로젝트 3 - web search, ai chat, talk
--> 키워드 입력시 구글, naver, kakao api를 활용한 웹 사이트 전체 크롤링 후 결과를 데이터프레임으로 제공하는 기능, 구글 trend에서 실시간 검색어 순위를 받아와 이를 표시하는 기능 ※web search 화면(front-end)를 구성하는 전체 코드 : pages/websearch.py # aurora.state.home 모듈에서 필요한 State 및 HomeState를 가져옵니다. import reflex as rx from aurora.state.base import State from aurora.state.home import HomeState # 컴포넌트를 가져옵니다. from ..components import container # 탭 버튼을 생성하는 함수 def tab_b..
Aurora-(13)최종 프로젝트 2 -Myprofile,maps,video
--> myProfile 화면에서 본인의 Nickname, 상태메시지 설정 가능, 본인이 작성한 story 내역 전체 확인 가능, 오른쪽에있는 비디오의 링크를 위에 입력시 해당 동영상을 광고없이 무한 반복재생 가능 ※ video화면(front-end)를 구성하는 전체 코드 : pages/video.py # aurora.state.home 모듈에서 필요한 State 및 HomeState를 가져옵니다. import reflex as rx from aurora.state.base import State from aurora.state.home import HomeState # 컴포넌트를 가져옵니다. from ..components import container color = "rgb(107,99,246)" #..
Aurora-(12)최종 프로젝트 1 - 소개, 로그인,회원가입,비밀번호찾기, 홈화면 구성
※설치 프로그램 : node.js 20.9 버전 vscode,anaconda (python 3.11.5)버전 ※사용한 라이브러리 : Reflex ※설치 명령어 : pip install reflex pip install geopy pip install folium pip install PyKakao pip install BeautifulSoup reflex init reflex db makemigrations reflex db migrate reflex run --> username과 password를 입력하면 데이터 베이스에 저장된 유저들의 정보와 비교해 일치하면 로그인 가능, 불일치하면 로그인 실패 기능 ※로그인 화면(front-end)을 구성하는 코드(pages/login.py) # 로그인 페이지. ..
Aurora-(11)오라클 데이터베이스 연동하기
https://chat.openai.com/share/404dbdd9-13d4-430a-8b5a-12ae7aba67fe https://chat.openai.com/share/500574c8-0787-4c27-92bb-3d20b91d2826