Arjun is trying to deploy a full-stack application using Docker. Its a simple application: The frontend fetches a single message from the backend, and shows it to the user. But he hasn't been able to get it work, those last few bugs are alluding him. Maybe you can help him figure it out?
This question requires you to have Docker (and docker-compose) installed.
- Clone the repository and
cd
into it. - Run
docker-compose up --build --force-recreate
to run the Docker Compose file, which should (if it were correct) run the backend and frontend.
The docker-compose
command should run successfully, and the following output should be visible on navigating to http://localhost:3000
: