Personal Projects

Spring Boot + Thymeleaf + Heroku Template

After an extensive search on GitHub, and the rest of the Internet in general, I was unable to find a project that would allow me to rapidly develop Spring applications with Thymeleaf that were fully deployable to Heroku.  Since I was unable to find what I was looking for, I decided to create it myself and then share it.

The Spring Boot + Thymeleaf + Heroku Template web page describes the functionality of the template in detail.  The source code is available on GitHub.

There is a live demo running on Heroku, but keep in mind that it might take 120 seconds to load on the first request.  Please be patient with the first request. Subsequent requests will be normal.

Here is the Spring Boot + Thymeleaf + Heroku Template running on Heroku.

 

Template Walkthrough (Spring Boot + Thymeleaf + Heroku)

For a detailed walkthrough of how to utilize the template project described above, please see The Developer’s Bookshelf with Heroku web page where I show the steps involved in rapidly building a demo application.

In the walkthrough, I will be creating a demo application called The Developer’s Bookshelf. The source code is available on GitHub.

There is a live demo running on Heroku, but keep in mind that it might take 120 seconds to load on the first request.  Please be patient with the first request. Subsequent requests will be normal.

Here is The Developer’s Bookshelf running on Heroku.

 

Spring Boot + MongoDB + Heroku Demo

This application starts with The Developer’s Bookshelf with Heroku application (JPA 2.0, Spring Data JPA, Hibernate, PostgreSQL), and migrates it to work with MongoDB while still being fully deployable to Heroku.

The Spring Boot + MongoDB + Heroku Demo web page describes the functionality of the application in detail.  The source code is available on GitHub.

There is a live demo running on Heroku, but keep in mind that it might take 120 seconds to load on the first request.  Please be patient with the first request. Subsequent requests will be normal.

Here is the Spring Boot + MongoDB + Heroku Demo running on Heroku.

 

Spring Boot + Redis + Heroku Demo

This application starts with The Developer’s Bookshelf with Heroku application (JPA 2.0, Spring Data JPA, Hibernate, PostgreSQL), and migrates it to work with Redis while still being fully deployable to Heroku.

The Spring Boot + Redis + Heroku Demo web page describes the functionality of the application in detail.  The source code is available on GitHub.

There is a live demo running on Heroku, but keep in mind that it might take 120 seconds to load on the first request.  Please be patient with the first request. Subsequent requests will be normal.

Here is the Spring Boot + Redis + Heroku Demo running on Heroku.

 

Problem Solving

Let’s have some fun and solve some interesting problems with Java!

Project Euler #19 – Counting Sundays
How many Sundays fell on the first of the month during the twentieth century (1 Jan 1901 to 31 Dec 2000)?
Detailed Solution
Source code at GitHub
Comparing Integers without Operators
Find out if two integers are equal without using comparison operators.
Detailed Solution
Source code at GitHub
Finding Target Sum in Number Array
Given a target number and integer array, find all unique pairs of elements whose summation is equal to the target number.
Detailed Solution
Source code at GitHub

 

Spring MVC Demo

The Spring MVC demo application utilizes Spring MVC 4 + Spring Data JPA + jQuery UI as well as many other useful technologies.

Spring MVC Demo

Please see the Spring MVC Demo Page where I showcase the application.

 

JSP & Servlets + H2 Database Demo

This simple shopping cart demo application utilizes JSPs and servlets as well as an in-memory H2 embedded database.

Shopping cart demo page

Please see the JSP & Servlets Demo Page where I briefly showcase the application.

 

Energy Quest – Custom Video Game

I programmed my own video game from scratch after reading “Tricks of the Windows Game Programming Gurus”.  Here is a short video on YouTube where I play through the first five levels.

The Energy Quest Page has more details about the making of the game as well as a link to download it if you are interested.

At the moment, it is compatible only with Windows XP, so if you have access to that operating system then you can give it a try.

 

New Age Piano CD

I have been playing piano since I was 4 years old.  At the age of 14, I was playing classical music at the highest levels and found myself interested in a new challenge.  It was at this time that I immersed myself heavily into composing and I have been doing so ever since.

The largest project I have ever undertaken, outside of computers, was the production of my New Age Piano CD entitled “I Will Always Remember”.  I composed, arranged, performed, produced, mixed and mastered every single song with the latest technology.  I also designed, printed, and professionally manufactured each copy in my home studio.

Here is a link to the website: www.chrisbaileypiano.com.