https://github.com/neziw/spring-logindemo
A demo project showcasing a Spring Boot login system with Thymeleaf, MySQL, and Docker Compose for easy setup and deployment.
https://github.com/neziw/spring-logindemo
gradle gradle-wrapper jakarta-persistence java jpa spring spring-boot spring-boot-web spring-jpa spring-login spring-login-page storage tailwind tailwind-css thymeleaf
Last synced: 2 months ago
JSON representation
A demo project showcasing a Spring Boot login system with Thymeleaf, MySQL, and Docker Compose for easy setup and deployment.
- Host: GitHub
- URL: https://github.com/neziw/spring-logindemo
- Owner: neziw
- License: mit
- Created: 2025-02-02T20:25:55.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-02T15:48:30.000Z (about 1 year ago)
- Last Synced: 2025-04-06T05:37:23.743Z (about 1 year ago)
- Topics: gradle, gradle-wrapper, jakarta-persistence, java, jpa, spring, spring-boot, spring-boot-web, spring-jpa, spring-login, spring-login-page, storage, tailwind, tailwind-css, thymeleaf
- Language: Java
- Homepage:
- Size: 222 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
##
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


Dark mode enabled (only main/index page):

----
## 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](https://mit-license.org/) - see the [LICENSE](LICENSE) file for details.
---
Special thanks to [JetBrains](https://www.jetbrains.com/products/) company for providing development tools used to develop this project.
[
](https://www.jetbrains.com)