Showing posts with label mongodb. Show all posts
Showing posts with label mongodb. Show all posts
Tuesday, June 26, 2018
Learning Spring Boot second edition
Excellent book by Greg L. Turnquist - no blabla, just stuff. Much better than the incredibly verbose and blablaistic Spring in Action.
Sample code here https://github.com/PacktPublishing/Learning-Spring-Boot-2.0-Second-Edition
You need MongoDB installed (IMHO better than using the embedded, I had issues)
https://www.mongodb.com/download-center?jmp=nav#community
download and install MongoDB community to D:\Program Files\MongoDB\Server\3.0\bin.... data by default is in D:\data\db
cd D:\Program Files\MongoDB\Server\3.0\bin
./mongod (it uses port 27017 by default)
./mongo
show dbs
show collections
db.chapter.find()
and possibly RabbitMQ:
https://www.rabbitmq.com/download.html
How to use the initializer:
https://start.spring.io/starter.zip?name=pvlearningspringboot&groupId=com.greglturnquist.learningspringboot&artifactId=pvlearningspringboot&version=1.0&description=pvlearningspringboot&packageName=com.greglturnquist.learningspringboot&type=gradle-project&packaging=war&javaVersion=1.8&language=java&bootVersion=2.0.3.RELEASE&dependencies=lombok&dependencies=data-mongodb-reactive&dependencies=thymeleaf&dependencies=webflux
Labels:
mongodb,
springboot
Subscribe to:
Posts (Atom)
