[Chapter1] D반 9조 - S.A

Jang Seok Woo·2022년 1월 10일
0

웹개발

목록 보기
26/31

개발환경 : Pycharm 2021.03, MongoDB, robo3T, Aws, Flask, Requests, Bootstrap
개발언어 : JavaScript, HTML, CSS, Python

항해99 D반 9조 S.A(Starting Assignment)

웹개발 미니 프로젝트(W1)

장석우, 김기윤, 김선주, 김우현

1. 우리 조 프로젝트 제목/간단설명

프로젝트 제목 : 지식IN over flow

간단설명 : Stack over flow와 같은, 개발자들이 개발 도중 겪게되는 어려움이나 질문들을 올려 답변을 얻고 공유하는 사이트입니다.

영어로만 이루어진 Stack over flow의 답변이 명쾌하게 와닿지 않고 답답할 때 한글로 된 stack over flow 사이트가 있다면 좀 더 문제해결에 대한 장벽이 낮아지지 않을까 하는 생각에 개발하기로 하였습니다.

2. 와이어프레임 사진

  • total
  • index.html
  • write.html
  • read.html
  • login.html
  • join.html

3. 개발해야 하는 기능들

HTML 파일

login.html : 로그인 DB연동, 비밀번호 불일치, 아이디가 없습니다
join.html : 회원가입 DB연동, 아이디 중복여부, 비밀번호 규칙 로직 구현
index.html : 질문리스트, 검색, 로그인, 글쓰기 버튼, 비로그인시 글 선택 및 글쓰기 버튼 누르면 로그인페이지로 이동
write.html : 질문 올리기, DB연동, data create
read.html : 질문 리스트에서 선택시 해당 질문 상세히 보여주는 페이지, 답변 데이터 연동해서 가져오기, 본인의 질문일 경우 삭제 버튼 및 수정 버튼 구현

App.py

API 설계

  • login API
methodURLrequstresponse
post/api/loginid,pwsuccess/failure

method : post | URL : /api/login | request : id, pw | response : success/failure

  • join API
methodURLrequstresponse
post/api/joinid,pw가입 완료 메세지

method : post | URL : /api/join | request : id, pw | response : 가입 완료 메세지

  • ID중복검사 API
methodURLrequstresponse
post/api/idCheckidtrue/false

method : post | URL : /api/idCheck | request : id | response : true/false

  • write API
methodURLrequstresponse
post/api/writeid, title, contentssuccess/failure

method : post | URL : /api/write | request : id, title, contents | response : success/failure

methodURLrequstresponse
post/api/reply/write_idreply

method : post | URL : /api/reply/write | request : _id | response : reply

  • read API
methodURLrequstresponse
GET/api/read_id, idtitle, contents, reply Table

method : GET |URL : /api/read | request : _id, id | response : title, contents, reply Table

  • update API
methodURLrequstresponse
GET/api/update_id, id, title, contentssuccess/failure

method : post | URL : /api/update | request : _id, id, title, contents | response : success/failure

  • delete API
methodURLrequstresponse
GET/api/delete_id, idsuccess/failure

method : post | URL : /api/delete | request : _id, id | response : success, failure

4. public github repo 주소

https://github.com/keeeeeey/hanghae_1_week

5. 함께 회의한 기록

https://app.tryeraser.com/workspace/gather:KTaxcUEWc6l4Fxj9table1?origin=share

profile
https://github.com/jsw4215

0개의 댓글