This is a User Management web application built with Spring Boot. It allows you to manage user accounts, including registration, authentication, and basic profile management.
- User Registration: Users can sign up for an account.
- User Authentication: Registered users can log in.
- Profile Management: Users can update their profile information.
- User Listing: Admins can view a list of all users.
- User Roles: Different user roles (e.g., admin, regular user) with appropriate permissions.
- Spring Boot: Application framework
- Spring Security: Authentication and access-control framework
- Spring Data JPA: Database access framework
- MySQL: Database
- Thymeleaf: Template engine
- Bootstrap: CSS framework
- Java 8
- Maven
- MySQL
-
Clone the repository:
git clone git@github.com:roshni73/SpringBoot_UserManagement.git
-
Create a MySQL database named
UserManagementDb(or whatever you want to name it). -
Create a file named
application.propertiesin thesrc/main/resourcesdirectory. -
Add the following lines to
application.properties:spring.datasource.url=jdbc:mysql://localhost:3306/UserManagementDb spring.datasource.username=<username> spring.datasource.password=<password> spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect spring.jpa.hibernate.ddl-auto=update
-
Replace
<username>and<password>with your MySQL username and password, respectively. -
Run the application with Maven:
mvn spring-boot:run
-
Open your browser and go to
http://localhost:8080.
This project is licensed under the MIT License. See the LICENSE file for details.