1 00:00:00,560 --> 00:00:05,450 In the next video we're going to start building our Story API but before we do that let me cover some 2 00:00:05,750 --> 00:00:08,210 general things regarding strapping. 3 00:00:08,660 --> 00:00:17,060 So once you configure your front end project to using strappy as your API so essentially we're not going 4 00:00:17,060 --> 00:00:23,210 to be fetching products from my API that I gave you the URL for but instead you're gonna use your own 5 00:00:23,600 --> 00:00:28,010 local strappy project you need to make sure that the dev server is running. 6 00:00:28,010 --> 00:00:33,020 Otherwise again you're just gonna have an hours because while you're not going to be serving your api 7 00:00:33,470 --> 00:00:39,640 in order to stop the server as you can see right now in the terminal we have our deficit running. 8 00:00:39,740 --> 00:00:46,160 But in order to stop the server the command is control C so notice how we stopped the server and in 9 00:00:46,160 --> 00:00:51,650 order to set up the server while in our case first of all we'd need to navigate to a store API since 10 00:00:51,650 --> 00:00:53,140 of course I'm just in a desktop. 11 00:00:53,150 --> 00:01:05,150 So let's do C.D. store API and then the command is NPM Ron develop since strappy is a node app we have 12 00:01:05,150 --> 00:01:11,300 multiple ways how we can spin up their server we can either do it from the terminal or in fact we can 13 00:01:11,300 --> 00:01:13,850 also do it from the text there. 14 00:01:13,950 --> 00:01:17,160 Please keep in mind that in the beginning it doesn't really matter. 15 00:01:17,210 --> 00:01:22,760 We can either do it from the terminal or text their will later on since we're gonna do some configurations 16 00:01:23,090 --> 00:01:27,980 you're gonna have to open it using a text that are otherwise you're not going to be able to follow along 17 00:01:27,980 --> 00:01:28,910 with the videos. 18 00:01:28,910 --> 00:01:34,280 So again I'm gonna stop the server in my terminal I'm just going to close the terminal and then I'm 19 00:01:34,280 --> 00:01:41,510 gonna open up a new window or my text there and just drag and drop my store API since with integrated 20 00:01:41,510 --> 00:01:44,110 terminal I'm right away my folder. 21 00:01:44,180 --> 00:01:52,250 So then of course I can just run again and pm Ron develop like I said since strappy is a node application 22 00:01:52,660 --> 00:01:58,730 there's obviously a bunch of folders as well as the files and some of them are very familiar like let's 23 00:01:58,730 --> 00:02:03,770 say node modules but just to show you what we have in the package just on we're going to open up the 24 00:02:03,770 --> 00:02:10,100 packages on we have the scripts and by the way if you install strapped globally you can just run strappy 25 00:02:10,160 --> 00:02:16,790 development in our case we used MP X that's the reason why we type NPM on develop and then you can check 26 00:02:16,790 --> 00:02:20,450 out the dependencies that strappy is using. 27 00:02:20,460 --> 00:02:26,930 And like I said once we spent up there sir again we have local host 13 thirty seven admin or we can 28 00:02:26,930 --> 00:02:31,870 just right away access the server on local host of 13 thirty seven.