In this video we're going to start to set up our Express API as a reminder you do not have to build
this API with me if you want to skip all the setup.
You can go ahead to the next section download all the source code for the express API and then just
learn how to run the server.
So if you're still here it's because you want to set up the Express API with me.
Sounds good.
Let's get started right away.
So it just in general I want you know that I'm going to kind of assume that you understand how express
works and kind of how to work with Mongo DB as well.
I'm going to definitely tell you a lot of stuff around both these topics but in general like I said
this is of course around React Native and not express.
So we're going to focus on really just kind of implementing our functionality and not necessarily doing
a super deep dive.
All right.
So back inside my terminal I'm back at a workspace directory of sorts.
So inside of here I'm going to make a new project directory that I'll call track dash server the overall
name of our application is going to be track or tracker or something like that.
So I'm saying hey this is where I have the API or the code for my API or then change into that directory
and then inside of here we're going to first begin by generating a package dot Jace on file so we can
install a couple of different dependencies.
So I will run NPM minute dash y like so and that's going to generate my package dot JS on file.
We're then going to install a couple of different dependencies right away.
Some of these dependencies aren't gonna make sense right away but we're just going to install all of
our dependencies upfront so we don't have to change back to our terminal several times throughout these
videos and install them one by one.
So we're going to do it in npm install.
We're going to get beat crypt express Jason web token all one word then Mongoose and Node Martin like
so now.
As usual I got to beg you please double check your spelling on all these different dependencies and
once you're sure that you typed them all out correctly.
Well let's go ahead and start the install and this installations can take just a little bit.
So let's take on the pause right here.
Come back the next video.
Once the installation is all complete.