Skip to content

Commit aad8586

Browse files
committed
add readme
1 parent 8e9bf9a commit aad8586

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

  • spring-security-login-and-registration
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
=========
2+
3+
## Login and Registration Example Project with Spring Security
4+
5+
6+
### Relevant Articles:
7+
- [Spring Security Registration Tutorial](http://www.baeldung.com/spring-security-registration)
8+
9+
10+
11+
### Build the Project
12+
```
13+
mvn clean install
14+
```
15+
16+
17+
### Set up MySQL
18+
```
19+
mysql -u root -p
20+
> CREATE USER 'tutorialuser'@'localhost' IDENTIFIED BY 'tutorialmy5ql';
21+
> GRANT ALL PRIVILEGES ON *.* TO 'tutorialuser'@'localhost';
22+
> FLUSH PRIVILEGES;
23+
```
24+
25+
26+
### Set up Email
27+
28+
You need to configure the email by renaming file "email.properties.sample" to "email.properties" and provide your own username and password.
29+
You also need to use your own host, you can use Amazon or Google for example.

0 commit comments

Comments
 (0)