Skip to content

#30주년과제 #전시 #웹 #프론트엔드 #KOREATECH30TH X DICE LAB #AI Photographer #only for 1920*1080

Notifications You must be signed in to change notification settings

whitepurple/Lab_exhibition_project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sample project 30주년 과제

Using front code kimhagyeong/Lab_exhibition_project [link]

FrontEnd

  • node.js 설치
  • npm i
  • npm start

BackEnd

  • Anaconda 환경으로 server 폴더 open
  • . condaenv.sh
  • . firststartserver.sh
  • 종료 후 . createsuperuser.sh 비밀번호 입력 (id : admin)
    • 다른 아이디로 생성 원할 시 python manage.py createsuperuser
  • . runserver.sh로 서버 실행
  • api 설명
    • BackEnd 실행 IP = BIP (218.150.xxx.xx)

      HTTP Method URL Body Response
      POST http://BIP:8000/cs {img : FrontEnd에서 웹캠으로 촬영한 사진} 18개의 작품에 대한 결과 url 리스트
      GET http://BIP:8000/cs - 18개의 작품에 대한 결과 url 리스트
      GET http://BIP:8000/cv/<int:art_id> - art_id에 대한 3가지 variation을 포함한 결과 4개 url 리스트
      GET http://BIP:8000/cp/<int:art_code> - art_id : art_code//10
      final selected art : art_code%10
      art_idfinal에 대한 출력물 변환 결과 url

실행 정보

  • 프로젝트 화면 http://BIP:3000/
  • django 객체 관리 화면 http://BIP:8000/admin
  • 원격 Backend 실행 시
    • server/runserver_remote.sh의 ip 변경하여 사용 ( {BIP}:8000 )
    • server/painter/utils.pyURL을 위와 동일하게 변경
    • front/src/conponent/theme.jsBackendServer를 위와 동일하게 변경

About

#30주년과제 #전시 #웹 #프론트엔드 #KOREATECH30TH X DICE LAB #AI Photographer #only for 1920*1080

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.3%
  • Python 49.0%
  • Other 1.7%