This project is tested against MongoDB with the following assumptions:
MONGODB_URI
should be set tomongodb://[host]:[port]/[db]
as inmongodb://127.0.0.1:27017/aboutme
Your environment should contain
MONGODB_URI=mongodb://...
# optional with defaults
# MONGODB_COLLECTION=persons
Start a dockerized MongoDB with
docker run --name mongodb -p 27017:27017 -d mongo
Ensure .env
contains
MONGODB_URI=mongodb://127.0.0.1:27017/aboutme