Deploying MEVN Stack Project Using Docker And Docker Compose
Deploying MEVN stack project using Docker and Docker Compose: Create containers for Express backend, MongoDB database, and Nginx proxy server with custom configuration settings. Run `docker-compose up` to start the application on port 80.
In this post, I would be discussing the approach I followed while deploying one of my hobby projects created using MEVN stack. For this to work you only need to have Docker installed on your system. We'd follow a container-based approach and deploy containers for each individual entity of our project. In case you're interested I'd be using the following project as a reference which I created using MEVN stack. https://github.com/Apfirebolt/miniurl_mevn This is a user authentication-based URL shortener app. Logged-in users can submit longer URLs, and the app stores shortened versions of them in...