Spring blog demo

by plaidshirtakos

GitHub Readme.md

Java Spring-Blog

A simple blog Java example project made with Spring boot / Hibernate for Codeup students.

Deploy

  • Implementing Materialize CSS Framework
  • Spring Boot
  • Hibernate ORM + JPA
  • Thymeleaf
  • MySQL

Libraries and Utilities Applied

  • FullCalendar.js
  • Moments.js
  • jQuery
  • WebSockets
  • Joda Time
  • User Icon Generator link

First steps

  1. Create an application.properties file with valid credentials for a MySQL connection, use the application.properties.example as a template.
  2. If you want to use the seeder file leave the seed.db=true property, change it to: seed.db=false or any value that makes sense to you when you don't want to seed the database.

Some General Examples

In this project you will find some examples for:

  • A complex JPA joinTable relationship where users can send FriendRequests between them and each one has a status to check if it's been sent, approved or rejected. See JPA model here
  • A small Enum class that contains a list of friendship statues. See model here