Welcome to the Learn Spring Boot repository! This project is a tech store built using Spring Boot, Thymeleaf, Bootstrap, and Spring Security. It provides a robust platform for learning and implementing modern web application features.
- Project Overview
- Features
- Technologies Used
- Installation
- Usage
- Contributing
- License
- Contact
- Releases
The Learn Spring Boot project aims to provide a comprehensive example of a tech store application. This application demonstrates how to build a secure, responsive web application using the Spring framework. The project showcases how to manage products, handle user authentication, and create a dynamic user interface.
- User Authentication: Secure login and registration using Spring Security.
- Product Management: Admin panel to add, edit, and delete products.
- Responsive Design: Built with Bootstrap for a mobile-friendly interface.
- Database Integration: Utilizes MySQL for data storage and retrieval.
- Dynamic Pages: Thymeleaf templates for rendering HTML pages.
This project incorporates several technologies to create a seamless experience:
- Spring Boot: A framework that simplifies the setup and development of new Spring applications.
- Thymeleaf: A modern server-side Java template engine for web applications.
- Bootstrap: A front-end framework for developing responsive and mobile-first websites.
- Spring Security: A powerful authentication and access-control framework.
- MySQL: A relational database management system for storing application data.
- Maven: A build automation tool used primarily for Java projects.
To set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/m11nyan/learn-spring-boot.git
-
Navigate to the project directory:
cd learn-spring-boot
-
Open the
pom.xml
file and ensure all dependencies are included. If you need to add any dependencies, you can find them on the Maven Repository. -
Set up MySQL:
- Install MySQL server and MySQL Workbench.
- Create a new database for the application.
- Update the
application.properties
file with your database credentials.
-
Build the project:
mvn clean install
-
Run the application:
mvn spring-boot:run
Your application should now be running on http://localhost:8080
.
Once the application is running, you can access it via your web browser. Here are some key URLs to get you started:
- Home Page:
http://localhost:8080/
- Login Page:
http://localhost:8080/login
- Admin Panel:
http://localhost:8080/admin
You can register a new user, log in, and start managing products.
We welcome contributions! If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeature
- Make your changes and commit them:
git commit -m "Add your message here"
- Push to the branch:
git push origin feature/YourFeature
- Create a Pull Request.
Your contributions help make this project better!
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or feedback, feel free to reach out:
- Author: Your Name
- Email: your.email@example.com
To download the latest release, visit our Releases page. You can find compiled binaries and additional information about each release.
Feel free to explore and enhance your understanding of Spring Boot and related technologies. Happy coding!