Email Address : [email protected]
- Run docker command
pull mongodb image
- Run container
docker run --name mongodb -p 27017:27017 mongo
- Bash to container for crate user
docker exec -it mongodb bash
- Go to mongo management
mongo
- Show db to use db
- Use db for create user
use movie
- Create user and password
db.createUser({ user: "imdb", pwd: "imdb", roles: [ { role: "root", db: "movie" } ] })
Use the following path to view the documentation produced by open-api and swagger use the following path, after the execution
Swagger url : http://localhost:8080/documentation.html
Spring Session has the simple goal of free up session management from the limitations of the HTTP session stored in the server. The solution makes it easy to share session data between services in the cloud without being tied to a single container (i.e. Tomcat). Additionally, it supports multiple sessions in the same browser and sending sessions in a header. For enabling this feature, doing following :
mvn spring-boot:run