Node.js and MongoDB example using docker-compose
To run the app:
- Clone this repo
- Run
docker-compose up --build
- Open a shell in the mongo container:
docker exec -it mongo bash mongo use test db.users.insert({ name: "Your Name", age: "Your Age" })
- Exit from the shell by typing
exit
- Direct your browser to
http://localhost:3000