From the course: React: Securing Applications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Initial setup of your server

Initial setup of your server - React.js Tutorial

From the course: React: Securing Applications

Start my 1-month free trial

Initial setup of your server

- [Instructor] So the first thing we need to do in order to build a proper example where our react front end connects to a back end with authentication. We need to build our back end with some API inputs. Well first set up the servers, so let's get to it. So I'm back into the folder where we created the react application earlier. And what am going to do first is create a client folder and then put all these files inside of that folder. So let's go and right click, create new folder, call this client and then grab all the files here and then put it inside of client. Remember that you need to show the hidden files, otherwise you're not going to be transferring these files. So want to make sure you see this. So let's go and grab all these files and then put them inside of the client folder. Now we're going to create a server folder like so. And this is where we're going to work for the next little bit. So I'm going to pull…

Contents