My boilerplate .NET8 & mongo solution including generic repository pattern using domain driven design approach
- Change your directory
cd MongoDBSetup
- Bootstrap replica set with docker-compose
docker-compose up
- Configure and initiate the replica set
docker exec -it mongo1 bin/sh /scripts/setup.sh