νν΄λ‘(Hanghaelog)μ μΌμκΈ°λ‘μ΄ κ°λ₯ν μμ λ―Έλμ΄ μΉμ±μ λλ€.
2021-12-06 ~ 2021-12-11
FE
- μ΄νμ
- μ₯μ£Όν
- κΉμμ΄
BE
- μ‘λ―Όμ§
- κΈΈμ¬μ
- κΉμΉμ€
λ§ν¬: http://hanghaelog.shop/ s3λ§ν¬: http://mini--hanghaelog.s3-website.ap-northeast-2.amazonaws.com/
λ§ν¬:
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