An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

##


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](/assets/login_showcase.png)

![Index Showcase](/assets/index_showcase.png)

Dark mode enabled (only main/index page):

![Index Showcase Dark Mode Enabled](/assets/index_showcase_dark_mode_enabled.png)

----
## 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.

[JetBrains](https://www.jetbrains.com)