1 00:00:00,360 --> 00:00:06,020 And in order to keep the ball rolling we're gonna set up ourselves a brand new strappy application and 2 00:00:06,050 --> 00:00:08,790 we're gonna do that by heading over to strappy Io. 3 00:00:08,850 --> 00:00:15,240 So in your search engine this type strappy on the first link that's gonna pop up probably is gonna be 4 00:00:15,240 --> 00:00:22,620 strappy I'll just click bravely on the link then click on get start button and then just follow the 5 00:00:22,620 --> 00:00:25,340 install strappy and create new project. 6 00:00:25,530 --> 00:00:31,680 We're going to click there and the command we're looking for is and B X create strappy app and then 7 00:00:31,680 --> 00:00:33,310 whatever is your project name. 8 00:00:33,390 --> 00:00:40,830 So I guess I'm gonna go with store API or something like that and then we have a flag of Hyphen hyphen. 9 00:00:40,830 --> 00:00:41,990 Quick Start now. 10 00:00:42,000 --> 00:00:43,080 What this flag does. 11 00:00:43,080 --> 00:00:50,250 It creates a database for us and it uses ASCII well like you can of course set up your own database. 12 00:00:50,250 --> 00:00:54,310 So let's say you could set up a mongo DV and then connect it to strappy. 13 00:00:54,390 --> 00:00:58,860 But in order to speed things up we are going to use a quick start flag. 14 00:00:59,340 --> 00:01:04,950 So let me copy and paste the command when I copy it and then I'm going to head over back to my desktop. 15 00:01:05,010 --> 00:01:11,340 You can open up the terminal to zoom in just so you can see that I'm not doing any black magic then 16 00:01:11,340 --> 00:01:15,210 I'm going to do see the net stops so we're going to navigate to a desktop. 17 00:01:15,210 --> 00:01:19,460 Copy and paste command and I'm going to change the name of my project. 18 00:01:19,650 --> 00:01:27,600 So I'm gonna call this store API like so and then strap it is gonna start doing its work by installing 19 00:01:27,600 --> 00:01:28,940 all the dependencies. 20 00:01:28,950 --> 00:01:30,560 Now it might take a while. 21 00:01:30,630 --> 00:01:36,420 So I'm going to stop the video and resume the video once we need to set up our admin user. 22 00:01:36,640 --> 00:01:42,370 And once traffic is done installing all the dependencies we're gonna be directed to local host thirteen 23 00:01:42,390 --> 00:01:48,930 thirty seven forward slash admin forward slash off and then register where we need to register our admin 24 00:01:48,930 --> 00:01:49,570 user. 25 00:01:49,680 --> 00:01:54,420 By the way if you're going to head over back to your terminal you're going to notice that strappy spun 26 00:01:54,420 --> 00:01:59,520 up the dev server and that's something that I'm going to talk about in the next video where you always 27 00:01:59,520 --> 00:02:01,770 need your dev 7:00 local environment. 28 00:02:01,770 --> 00:02:06,020 Otherwise you're not gonna be able to access your application from your front end. 29 00:02:06,180 --> 00:02:11,370 So we're gonna head over back and for the time being I'm also going to delete the rest of the url. 30 00:02:11,580 --> 00:02:16,350 So I'm just going to show you what you're gonna have on local horse thirteen thirty seven where it says 31 00:02:16,350 --> 00:02:18,930 you have successfully created strappy application. 32 00:02:18,930 --> 00:02:19,590 Awesome. 33 00:02:19,710 --> 00:02:22,260 And then you would want to head over to our admin. 34 00:02:22,320 --> 00:02:27,990 We just need to go to forward slash admin so once we log in each and every time we would want to go 35 00:02:27,990 --> 00:02:28,830 through admin. 36 00:02:28,830 --> 00:02:33,750 We're gonna need a forward slash had me and then let's say once we create the product then you're gonna 37 00:02:33,780 --> 00:02:37,890 see that you are always going to be whatever is your contact type so local host. 38 00:02:37,890 --> 00:02:40,830 Then forward slash and then whatever content type. 39 00:02:40,980 --> 00:02:45,050 Once we push the production the deal is exactly the same. 40 00:02:45,210 --> 00:02:47,940 Difference however of course is gonna be your domain. 41 00:02:47,940 --> 00:02:53,430 So we're going to have your domain then north to log in or whatever set up the admin you're going to 42 00:02:53,430 --> 00:03:00,480 need forward slash admin and then let's say in order to access your API you're going to have a domain 43 00:03:00,480 --> 00:03:05,460 forward slash whatever the content type was whether that was products whether or not it was. 44 00:03:05,460 --> 00:03:06,080 I don't know. 45 00:03:06,300 --> 00:03:12,120 Item or anything like that and I'm gonna set up my admin user please keep in mind that once we push 46 00:03:12,120 --> 00:03:17,010 the production once we hosted somewhere which in our case is going to be Heroku you're still gonna have 47 00:03:17,010 --> 00:03:19,750 to set up the admin user from scratch. 48 00:03:20,070 --> 00:03:24,750 So I'm going to go with John then I'm going to go with some kind of dummy password and I'm going to 49 00:03:24,750 --> 00:03:30,280 do the same thing here as well as with some kind of dummy email when you go with. 50 00:03:30,510 --> 00:03:40,490 Maybe I'm gonna go with learn code tutorial at GM mail dot com like so and then just click on ready 51 00:03:40,490 --> 00:03:44,380 to start and the moment we do that we're guided to our admin panel.