1 00:00:01,100 --> 00:00:05,090 Our application is now pretty much feature complete but there's one last big feature that I want to 2 00:00:05,090 --> 00:00:06,620 add in at present. 3 00:00:06,620 --> 00:00:12,770 Anytime someone uses our application and say ads in a new blog posts like so if they then restart the 4 00:00:12,770 --> 00:00:18,810 application as I'll do right now that new blog post just disappears so I want to figure out some way 5 00:00:18,810 --> 00:00:22,270 that we can somehow persist the state inside of our app. 6 00:00:22,290 --> 00:00:24,400 There's a couple of different ways we could handle this. 7 00:00:24,420 --> 00:00:29,520 We could either try to save our list a blog post to our physical device and then read that list of blog 8 00:00:29,520 --> 00:00:35,230 posts anytime our application starts up but another way we could handle this in probably a way that's 9 00:00:35,230 --> 00:00:41,630 gonna be a little bit more useful is to instead store our list of posts on some outside API server. 10 00:00:41,630 --> 00:00:46,970 So anytime someone creates a blog post we're going to make a network request to this outside server 11 00:00:47,240 --> 00:00:49,820 and try to store a new blog post over there. 12 00:00:50,580 --> 00:00:55,730 And we'll also have the ability to fetch a list of all of our different blog posts and maybe edit and 13 00:00:55,730 --> 00:00:57,360 delete them as well. 14 00:00:57,530 --> 00:01:02,360 Right now on this outside server we're not gonna worry about having any concept of user accounts or 15 00:01:02,360 --> 00:01:03,680 anything like that. 16 00:01:03,800 --> 00:01:07,700 We're gonna eventually figure out how to deal with user accounts inside this of course but for right 17 00:01:07,700 --> 00:01:12,590 now we're just gonna have this outside server store our list of posts and be able to do some basic interaction 18 00:01:12,590 --> 00:01:13,890 with it. 19 00:01:13,970 --> 00:01:18,020 Let's first begin by understanding how we're going to create the server to create that server. 20 00:01:18,020 --> 00:01:22,560 We're going to be making use of a package called simply Jason server. 21 00:01:22,630 --> 00:01:27,000 This is a little package that's used to stand up a server that's so service. 22 00:01:27,010 --> 00:01:27,620 Excuse me. 23 00:01:27,640 --> 00:01:28,930 Jason data. 24 00:01:28,930 --> 00:01:33,210 It's really only good for development purposes and is not quite appropriate for production. 25 00:01:33,280 --> 00:01:35,520 But again we're just trying to figure out what's going on here. 26 00:01:35,530 --> 00:01:38,150 So we're going to use Jason server to get started. 27 00:01:38,150 --> 00:01:41,170 I'm going to navigate to the documentation for Jason server. 28 00:01:41,290 --> 00:01:42,550 Here it is right here. 29 00:01:43,630 --> 00:01:45,790 If you want to you can take a look at the documentation. 30 00:01:45,850 --> 00:01:48,470 But as usual I'll tell you everything you need to know. 31 00:01:48,730 --> 00:01:53,620 Just so you know this Jason server is actually the same thing that is used on that Jason Place holder 32 00:01:53,650 --> 00:01:57,020 API that we used in one of our previous applications. 33 00:01:57,100 --> 00:02:00,840 So it's going to essentially be a very similar experience. 34 00:02:00,850 --> 00:02:01,110 All right. 35 00:02:01,160 --> 00:02:03,540 Let's take a quick pause right here when we come back the next video. 36 00:02:03,610 --> 00:02:08,080 We're going to start to setup Jason server and then start to use it from our project.