Spring Boot

Samples Code
https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples

Spring Boot with JSP
https://www.mkyong.com/spring-boot/spring-boot-hello-world-example-jsp/

Spring Session with Spring Boot
https://docs.spring.io/spring-session/docs/current/reference/html5/guides/boot.html

Spring Boot – Pagination with Data
http://docs.spring.io/spring-data/data-mongo/docs/current/reference/html/

Add Swagger to check all end points quickly.
http://heidloff.net/article/usage-of-swagger-2-0-in-spring-boot-applications-to-document-apis/

Secure end points
https://stackoverflow.com/questions/24049784/permit-post-on-a-rest-endpoint-springboot

Spring Actuators
http://www.baeldung.com/spring-boot-actuators

Spring Boot Logging
https://springframework.guru/using-logback-spring-boot/

Spring Boot Reference:
https://docs.spring.io/spring-boot/docs/current/reference/html/index.html
——————————————

Spring Security with React
http://juhahinkula.github.io/2016-12-05-reactsecurity/
https://github.com/juhahinkula/SpringReactWebpack

——————————————
Java MongoDB Example:
https://www.mongodb.com/blog/post/getting-started-with-mongodb-and-java-part-i

Sample MongoDB Data Files
https://github.com/ozlerhakan/mongodb-json-files

MongoDB Pagination
https://scalegrid.io/blog/fast-paging-with-mongodb/

//Page 1
db.users.find().limit (10)
//Page 2
db.users.find().skip(10).limit(10)
//Page 3
db.users.find().skip(20).limit(10)
……..
You get the idea. In general to retrieve page n the code looks like this

1
db.users.find().skip(pagesize*(n-1)).limit(pagesize)

——-
https://atom.io/
Markdown Editor.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s