From the course: React: Server-Side Rendering

Unlock the full course today

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

Create initial Express or Next.js server

Create initial Express or Next.js server - React.js Tutorial

From the course: React: Server-Side Rendering

Start my 1-month free trial

Create initial Express or Next.js server

- In many cases, you might already have an Express web server running. Or would like to get a bit more control over the routes. While you can bill an Express server with Next JS and still do SSR with the power of the two libraries. So let's work on this. So, I went back to the file as they were just before we added Redux into our project. And if you're not sure which exercise files to use. You can go into the exercise files and then look into zero three chapter zero three zero one. And look at the beginning and copy those files into the SSR folder. And this is what it should look like for your index. So right now we should have our return statement just returning the cards and so on and so forth. So let's go ahead and work on that project so we can make Next JS and Express work together. So the first thing we're going to do is go into the terminal. So let's go ahead and open a new terminal so you can do new terminal or…

Contents