From the course: React: Creating and Hosting a Full-Stack Site

Schalten Sie den kompletten Kurs noch heute frei

Join today to access over 23,400 courses taught by industry experts.

Setting up an Express server

Setting up an Express server

"

- [Narrator] All right. To get started creating a backend for our app with NodeJS and Express, what we're going to do is create a directory outside of this front end directory that we've been working with so far, right? That we called my blog. So what you're going to want to do is open up a terminal and type CD and then dot. And that will send you back out into the parent folder. And then what we're going to do is just create a new folder inside of here alongside our my blog directory. And we'll call that something like my blog backend. So what you're going to do for that, assuming of course that you're on Mac this may well be different if you're on Windows. So just look up how to create a new directory in Windows or whatever operating system you're on. And then you're going to say my blog backend, right? So this is the name that you want for the directory. Okay, so once we've created that, we're just going to open that up…

Inhalt