Mongo - grandhappy/springboot GitHub Wiki
Mongo
MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era. No database is more productive to use.
website:https://docs.mongodb.com/
part 1
how to import mongo?
- import spring-boot-starter-data-mongodb dependence in pom
- config mongo in application.properties
- code MongoController.java to test how to test?
- curl -X GET http://127.0.0.1:8080/mongo
{
id: 111,
name: "test",
password: "123456",
status: null,
roles: null
}