서민정

update

......@@ -2,12 +2,15 @@
## CHATBOT WITH CRAWLING
front
- [ ] Modify card component
- [ ] Remove card message on dialogflow
- [x] Modify card component
- [x] Remove card message on dialogflow
- [ ] Modify Intent on dialogflow
- [ ] Add additional functions on dialogflow
- [ ] Show video list on front (card compo)
- [x] Show video list on front (card compo)
back
- [ ] Modify crawling.js to deal with null data
- [ ] Dealing with Event queries
\ No newline at end of file
- [ ] Dealing with Event queries
- [ ] 가수와 관련되지 않은 영상이 포함될 땐?
- [ ] 배포 어떻게 할것인가
- [ ] 전반적인 내용 완전히 이해하기 (구조 등)
\ No newline at end of file
......
......@@ -5,6 +5,8 @@ import { saveMessage } from '../_actions/message_actions';
import Message from './Sections/Message';
import { List, Icon, Avatar } from 'antd';
import Card from "./Sections/Card";
var username = prompt('이름을 알려주세요!');
if(username === null) username = "유저"
function Chatbot() {
const dispatch = useDispatch();
const messagesFromRedux = useSelector(state => state.message.messages)
......@@ -21,7 +23,7 @@ function Chatbot() {
// First Need to take care of the message I sent
let conversation = {
who: '사용자',
who: username,
content: {
text: {
text: text
......
......@@ -3,11 +3,12 @@ import { Card, Icon } from 'antd';
const { Meta } = Card;
function CardComponent(props) {
console.log("props" ,props)
return (
<Card
style={{ width: 300 }}
style={{ width: 200 }}
cover={
<img
alt={props.cardInfo.description}
......
......@@ -21,7 +21,9 @@
"dialogflow": "^0.8.2",
"dialogflow-fulfillment": "^0.6.1",
"express": "^4.16.4",
"mongoose": "^5.4.20"
"mongoose": "^5.4.20",
"cheerio": "^1.0.0-rc.3",
"axios" : "^0.19.2"
},
"devDependencies": {
"concurrently": "^4.1.0",
......