From the course: Docker for Developers
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Practical back end with Compose - Docker Tutorial
From the course: Docker for Developers
Practical back end with Compose
- - [Instructor] Okay, so now that we've seen how to work with a simple Node and Express backend, let's add a little bit more to a similar project that has routes, a full API with endpoints and a Mongo database, and see how this would work. In the process, we'll introduce Compose. Compose is a tool that allows you to manage multiple containers, and set your entire backend with a single file. Let's take a look at what it looks like. So the first thing we're going to do is go into the backend we created previously, open it and then delete everything but Dockerfile and dockerignore. So you can delete this. And then move it to trash. And then what we're going to do is go into the exercise files and then from the resources, grab the backend right here. So I'll copy all these files into this folder here. Let's go ahead and do that. Copy. And then paste. Perfect. So now let's close those two. And then let's get…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Overview back-end/front-end architecture1m 2s
-
(Locked)
Practical back end with Compose4m 27s
-
(Locked)
Finalize and test the back-end setup5m 23s
-
(Locked)
Practical front-end setup3m 29s
-
(Locked)
Finalize and test the front-end setup5m 38s
-
(Locked)
Full stack setup: Put it all together7m 41s
-
(Locked)
Other language tips and tricks2m 17s
-
(Locked)
-
-
-
-