A simple web app to store quotes.
- Clone repo
- run
npm install
- Install MongoDB and run it.
- run
node server.js
- Open
localhost:3000
in your favorite browser!
- Follow the workshop to write a
Dockerfile
anddocker-compose.yml
. - Run
docker-compose up
Much simpler!
- Run
sudo nano /etc/hosts
- Add this line to the end:
127.0.0.1 quotebook.local
and save - Run
docker-compose up
with the nginx proxy, and you have a secure server running!