항해둝 (Hanghaelog) 🚒

항해둝(Hanghaelog)은 일상기둝이 κ°€λŠ₯ν•œ μ†Œμ…œ λ―Έλ””μ–΄ μ›Ήμ•±μž…λ‹ˆλ‹€.

μ œμž‘ κΈ°κ°„ 및 νŒ€μ› μ†Œκ°œ

2021-12-06 ~ 2021-12-11

FE

  • μ΄ν•œμƒ˜
  • μž₯주혜
  • κΉ€μžμš΄

BE

  • 솑민지
  • κΈΈμž¬μ›
  • κΉ€μŠΉμ€€

와이어 ν”„λ ˆμž„

μ›Ήμ‚¬μ΄νŠΈ

링크: http://hanghaelog.shop/ s3링크: http://mini--hanghaelog.s3-website.ap-northeast-2.amazonaws.com/

데λͺ¨ μ˜μƒ

링크:

API

Method URL REQ RES
REGISTER POST /api/auth/register { email nickname password passwordCheck } code 201
LOGIN POST /api/auth/login { email password } { token user{ id, nickname } }
GET USER GET /api/auth headers:{ authorization:token } { id:user.id nickname }
GET POSTS GET /api/posts post{ id, userId nickname createdAt content imgUrl numOfComments }
WRITE POST POST /api/posts { imgUrl, content } { post code:201 }
EDIT POST PUT /api/posts/:postId { content, imgUrl } code:204
DELETE POST DELETE /api/posts/:postId code:204
GET COMMENTS GET /api/posts/:postId/comments comment { id, userId postId, comment, nickname, }
WRTIE COMMENT POST /api/posts/:postId/comments { comment } { comment, code:201, }
DELETE COMMENT DELETE /api/posts/:postId/comments { comment } { comment, code:201, }

기술 μŠ€νƒ 및 개발 ν™˜κ²½

FE

  • React.js
  • Redux
  • React-router-dom
  • Material UI
  • Axios

BE

  • Node.js
  • Express.js
  • Passport.js
  • JsonWebToken
  • Multer

DBMS

  • My SQL
  • Sequelize
  • Sequelize-cli

Deploy

  • AWS EC2 (Ubuntu 18.04LTS)
  • AWS S3