Skip to content

A demo project showcasing a Spring Boot login system with Thymeleaf, MySQL, and Docker Compose for easy setup and deployment.

License

Notifications You must be signed in to change notification settings

neziw/Spring-LoginDemo

Repository files navigation

Spring Boot Official Logo Imgur

Spring-LoginDemo

This is a demo project showcasing a simple Spring Boot application with a login system, using Thymeleaf for rendering the frontend and MySQL as the database. The project is designed to demonstrate how to set up a basic authentication system while utilizing Docker Compose for containerized deployment.


Features

  • Spring Boot for backend application
  • Thymeleaf for HTML templating
  • MySQL for database storage
  • Docker Compose for easy setup and deployment
  • Simple user authentication and login flow
  • Ability to run the app in a containerized environment

Preview

Login Showcase

Index Showcase

Dark mode enabled (only main/index page):

Index Showcase Dark Mode Enabled


Requirements

Before running this application, ensure you have the following installed:

  • Docker (you can use Docker Desktop as well)
  • Java (JDK 17)
  • Gradle or Gradle Wrapper (for building the project)
  • (Only if you are not using containers) MySQL database

Accessing the application

Once everything is up and running, navigate to the following URL to access the application:

http://localhost:8080

Technologies Used

  • Spring Boot: For the backend application
  • Thymeleaf: Templating engine for frontend rendering
  • MySQL: Relational database used to store user credentials
  • Docker: Containerization of the application and MySQL service
  • Docker Compose: To manage container applications via compose.yml.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Special thanks to JetBrains company for providing development tools used to develop this project.

JetBrains

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •