- Install Docker
- follow the post-installation steps
- Install docker-compose
- Run the command
docker-compose -f docker-compose.yml up --build
- Test the server by navigating to
localhost:8080
with a browser or sending a GET request tolocalhost:8080
- Run this command from host terimal docker when it is running:
docker exec -it backendmongo_node-app-docker_1 bash -c 'npm run addusers'
- Check the
/users
endpoint to verify users were added.