d# web-app-sample
cd monbodb
docker build . -t mongo-test
Run MongoDB container
docker run -p 28001:27017 --name mongo-test -d mongo-test
Install mongosh
brew install mongosh
Test connection to MongoDB with mongosh
mongosh mongodb://root:'brHZ-!_rHAZF4xR2-EsRKx9e'@localhost:28001/admin
How to use mongosh
admin> use tutorial
turotial> db.tutorial_collection.find()
/go-gin/
: Back-end sample by Go with Gin FrameworkInstall go
brew install go
cd go-gin
Run go
go run main.go
/vue-js/
: Front-end sample by Vue.jsInstall npm
brew install npm
Install node
brew install node
Install vue-cli globally
npm install -g @vue/cli
cd vue-js
Install npm packages to node_modules
npm install
Compile and hot-reload for development
npm run serve