Smilegate Stove Dev Camp 사전 과제 📝
Web Frontend 민지호
- POST /api/posts/${id}
- WRITE_POST {title, body}
- PATCH /api/posts/${id}
- UPDATE_POST {title, body}
- DELETE /api/posts/${id}
- REMOVE_POST
- GET /api/posts?page=1
- LIST_POST
- GET /api/posts/${id}
- READ_POST (위 화면들에서 볼 수 있음)
- GET /api/comments/${postId}
- LIST_COMMENT
- POST /api/comments/${postId}
- WRITE_COMMENT {username, body}
- backend
- frontend
- blogs.post
- Blog.comments
- backend: Node.js, mongoose(MongoDB), Joi, Koa
"dependencies": {
"dotenv": "^10.0.0",
"joi": "^17.4.2",
"joi-objectid": "^4.0.2",
"koa": "^2.13.4",
"koa-bodyparser": "^4.3.0",
"koa-router": "^10.1.1",
"mongoose": "^6.0.12",
"sanitize-html": "^2.5.3"
}
- frontend: React.js, redux, react-dom, redux-saga, axios, styled-components, quill
"dependencies": {
"axios": "^0.24.0",
"qs": "^6.10.1",
"quill": "^1.3.7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet-async": "^1.1.2",
"react-redux": "^7.2.6",
"react-router-dom": "^5.3.0",
"react-scripts": "4.0.3",
"redux": "^4.1.2",
"redux-actions": "^2.6.5",
"redux-saga": "^1.1.3",
"styled-components": "^5.3.3",
},
- backend
yarn start:dev # localhost:4000
- frontend
yarn start # localhost:3000