1 00:00:00,390 --> 00:00:07,020 And we also want to save the message, so we also need to create a message model. 2 00:00:07,620 --> 00:00:12,660 So under the models we create a new file called Message Thought at. 3 00:00:15,180 --> 00:00:22,020 And under the message, this is very similar to the rooms tomorrow, so we copied and pasted to the 4 00:00:22,020 --> 00:00:22,810 message, don't they? 5 00:00:22,830 --> 00:00:23,190 Yes. 6 00:00:24,120 --> 00:00:26,760 And now we are going to create a message schema. 7 00:00:32,560 --> 00:00:33,910 And this is message. 8 00:00:35,970 --> 00:00:37,260 And then we have named. 9 00:00:38,770 --> 00:00:39,790 User IP. 10 00:00:45,380 --> 00:00:47,390 And also from idee. 11 00:00:50,420 --> 00:00:58,250 And this time, we also need the time stamp because we want to note that kind of message, so we have 12 00:00:58,250 --> 00:01:00,870 to at times stamp it. 13 00:01:00,890 --> 00:01:01,340 True. 14 00:01:03,450 --> 00:01:13,350 And then you remember this as a message model, so the more you don't export, you go to the message. 15 00:01:14,740 --> 00:01:16,390 So now at a service site. 16 00:01:17,320 --> 00:01:22,330 We need to save the message, so we go to the investor at. 17 00:01:24,260 --> 00:01:31,370 And every time when you send the message instead of just image directly, we go to the safety first. 18 00:01:33,010 --> 00:01:42,490 So now we are going to create a model because then my stage is equal to the new stage and we pass the 19 00:01:42,490 --> 00:01:43,660 message to St.. 20 00:01:46,500 --> 00:01:54,420 To this model and then next year's message board say don't burn. 21 00:01:55,680 --> 00:01:56,700 And then we found. 22 00:02:00,430 --> 00:02:01,780 And we are going to image. 23 00:02:03,750 --> 00:02:04,500 The sound. 24 00:02:07,400 --> 00:02:08,600 To all the Koreans. 25 00:02:10,710 --> 00:02:18,690 So if we go back to the home page and ask John and then go to the room and then we type, Hello, I 26 00:02:18,690 --> 00:02:22,410 am John and Kick Send. 27 00:02:23,850 --> 00:02:29,520 Now, if we go to the Mongul DB and we refreshed our page. 28 00:02:31,490 --> 00:02:39,890 You can see the coalition's message already exist and the message already stored inside the Mongo DB 29 00:02:40,640 --> 00:02:42,290 in the next part, we are going to. 30 00:02:43,210 --> 00:02:46,260 Now, a message from the Mongul DB.