Skip to content

Conversation

@maxmin93
Copy link
Owner

@maxmin93 maxmin93 commented Oct 8, 2022

변경사항

  • docker-compose 서비스 mongo 추가
    • api 서비스에 depends, links 에 mongo 추가
  • mgdb.py 추가 (DB)
    • mongo client 생성 및 database 연결
    • Depends 에서 사용할 get_mongodb 함수
  • files.py 추가 (API)
    • POST /uploads : CSV 파일 업로드 및 insert_many
    • GET {name} : collection[name] 의 데이터 조회 (업로드 데이터)
  • books.py 추가 (API)
    • POST / : Book 추가
    • PUT /{id} : BookUpdate 반영
    • GET / : 전체 Book 리스트 출력
    • GET /{id} : Book{id} 조회

@maxmin93 maxmin93 merged commit b471997 into main Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants