Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 742 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 742 Bytes

=========

Login and Registration Example Project with Spring Security

Build and Deploy the Project

mvn clean install

This is a Spring Boot project, so you can deploy it by simply using the main class: Application.java

Set up MySQL

mysql -u root -p 
> CREATE USER 'tutorialuser'@'localhost' IDENTIFIED BY 'tutorialmy5ql';
> GRANT ALL PRIVILEGES ON *.* TO 'tutorialuser'@'localhost';
> FLUSH PRIVILEGES;

Set up Email

You need to configure the email by providing your own username and password in application.properties You also need to use your own host, you can use Amazon or Google for example. You may also setup an email server locally. See "email.properties.localhost.sample" for more details.