1 00:00:00,650 --> 00:00:05,360 In this video we're going to start to set up our Express API as a reminder you do not have to build 2 00:00:05,360 --> 00:00:07,900 this API with me if you want to skip all the setup. 3 00:00:07,910 --> 00:00:12,860 You can go ahead to the next section download all the source code for the express API and then just 4 00:00:12,920 --> 00:00:14,990 learn how to run the server. 5 00:00:15,110 --> 00:00:18,350 So if you're still here it's because you want to set up the Express API with me. 6 00:00:18,350 --> 00:00:19,040 Sounds good. 7 00:00:19,040 --> 00:00:20,170 Let's get started right away. 8 00:00:21,020 --> 00:00:25,070 So it just in general I want you know that I'm going to kind of assume that you understand how express 9 00:00:25,070 --> 00:00:28,360 works and kind of how to work with Mongo DB as well. 10 00:00:28,360 --> 00:00:33,080 I'm going to definitely tell you a lot of stuff around both these topics but in general like I said 11 00:00:33,110 --> 00:00:35,930 this is of course around React Native and not express. 12 00:00:35,930 --> 00:00:40,010 So we're going to focus on really just kind of implementing our functionality and not necessarily doing 13 00:00:40,070 --> 00:00:42,050 a super deep dive. 14 00:00:42,050 --> 00:00:42,310 All right. 15 00:00:42,320 --> 00:00:46,020 So back inside my terminal I'm back at a workspace directory of sorts. 16 00:00:46,070 --> 00:00:52,310 So inside of here I'm going to make a new project directory that I'll call track dash server the overall 17 00:00:52,310 --> 00:00:56,160 name of our application is going to be track or tracker or something like that. 18 00:00:56,200 --> 00:01:02,240 So I'm saying hey this is where I have the API or the code for my API or then change into that directory 19 00:01:02,930 --> 00:01:07,400 and then inside of here we're going to first begin by generating a package dot Jace on file so we can 20 00:01:07,400 --> 00:01:09,780 install a couple of different dependencies. 21 00:01:09,890 --> 00:01:18,170 So I will run NPM minute dash y like so and that's going to generate my package dot JS on file. 22 00:01:18,170 --> 00:01:21,610 We're then going to install a couple of different dependencies right away. 23 00:01:21,740 --> 00:01:25,430 Some of these dependencies aren't gonna make sense right away but we're just going to install all of 24 00:01:25,430 --> 00:01:29,390 our dependencies upfront so we don't have to change back to our terminal several times throughout these 25 00:01:29,390 --> 00:01:31,760 videos and install them one by one. 26 00:01:31,790 --> 00:01:34,160 So we're going to do it in npm install. 27 00:01:34,160 --> 00:01:46,890 We're going to get beat crypt express Jason web token all one word then Mongoose and Node Martin like 28 00:01:46,890 --> 00:01:48,210 so now. 29 00:01:48,330 --> 00:01:53,150 As usual I got to beg you please double check your spelling on all these different dependencies and 30 00:01:53,410 --> 00:01:56,220 once you're sure that you typed them all out correctly. 31 00:01:56,220 --> 00:02:00,570 Well let's go ahead and start the install and this installations can take just a little bit. 32 00:02:00,580 --> 00:02:02,290 So let's take on the pause right here. 33 00:02:02,320 --> 00:02:03,270 Come back the next video. 34 00:02:03,280 --> 00:02:05,200 Once the installation is all complete.