Docker Dev Environment with DB, Server and Client πŸ‘¨β€πŸ’» Develop an App from Scratch (Part 6)

Published: 09 March 2024
on channel: NL Tech
522
25

In this video I will create a development environment where I will be able to run a client / server / database application in a single monorepo, so that I can develop and debug efficiently on a local computer. To achieve that I will use Docker containers and Docker Compose to create a container-based environment that will run the PostgreSQL database, the Node.js backend api provider (the server) and the Next.js application (the client). The client and the server will be included in the monorepo as git submodules, so that they remain separate software packages.

What you'll learn:
Containerizing a Node.js Application with Docker (creating a Dockerfile)
Containerizing a PostgreSQL database
Using Docker Compose to run multiple docker containers/services
Setup a Docker Compose file for development including watchers for file changes in both the client and the server

Repository:
bw-monorepo: https://github.com/nikelaz/bw-monorepo
bw-backend-service: https://github.com/nikelaz/bw-backend...
bw-web-client: https://github.com/nikelaz/bw-web-client

Contents:
0:00 Introduction
0:44 What are we going to build?
2:05 Containerize the Backend Service/Server
13:23 Create the Next.js Web Client Package
17:04 Creating the Monorepo
20:29 Setup the Docker Compose Services
39:41 Conclusion

Social Media:
Email: [email protected]
Twitter: Β Β /Β nikelazΒ Β 
LinkedIn: Β Β /Β nikola-lazarovΒ Β 

#containers #docker #nodejs #development #monorepo


Watch video Docker Dev Environment with DB, Server and Client πŸ‘¨β€πŸ’» Develop an App from Scratch (Part 6) online without registration, duration hours minute second in high quality. This video was added by user NL Tech 09 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 522 once and liked it 25 people.