Demos and examples from course Introduction to Spring 5 provided by IPT - Intellectual Products & Technologies For Spring 5 Course in FMI see the Wiki of this repo: https://github.com/iproduct/course-spring5/wiki
mongod --dbpath=c:\mongo-data
mongo 127.0.0.1:27017
use articles
db.articles.find()
db.articles.insertOne({title:"Spring New Article", content:"New Content ..."})
curl -X POST "http://localhost:8080/api/articles" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "content": "Content 1 ...", "title": "Title 1"}"