Loading repository data…
Loading repository data…
chaurasia-aditya / repository
Personal portfolio website built using Spring Boot, Thymeleaf, MySQL, Spring Data JPA, Hibernate for the backend, and HTML-CSS-Javascript for the frontend.
This is a personal portfolio website built using Spring Boot, Thymeleaf, MySQL, Spring Data JPA, Hibernate, Spring Boot validation, HTML, CSS, JavaScript, and Bootstrap.
This project is not currently hosted. You can access a static version of the site (without the admin features) at: chaurasia-aditya.github.io
https://github.com/user-attachments/assets/bab07c1c-1187-4cc6-9d20-63d2e4269a59
Clone the repository:
git clone https://github.com/chaurasia-aditya/spring-portfolio-website.git
Navigate to the project directory:
cd spring-portfolio-website
Set up the MySQL database:
Create a new MySQL database.
You can modify and use the SQL scripts provided in the sql-scripts-samples directory to create the necessary database and tables.
Note: If you manually insert users into the user table, the password must be BCrypt-encrypted, since Spring Security will reject plain-text passwords. The sample SQL script provided already includes a BCrypt-hashed password.
To generate your own BCrypt password, you can:
Update the application.properties file with your database credentials.
spring.datasource.url=jdbc:mysql://localhost:3306/your-database
spring.datasource.username=your-username
spring.datasource.password=your-password
Build:
mvn clean install
Run:
mvn spring-boot:run
Special thanks to the following individuals whose videos and templates helped bring this project to fruition: