- Clone:
git clone https://github.com/nhAnik/spring-auth.git
cd spring-auth
- Install and setup postgres. You can use any other relational database. In that case, change
spring.datasource.url
inapplication.yml
file. - Create a database.
CREATE DATABASE auth;
- Change
spring.datasource.username
andspring.datasource.password
inapplication.yml
file. - For email verification after registration, we need to send email. To test this functionality, create an account in https://mailtrap.io. You can use any other service as you wish.
- Change
spring.mail.username
andspring.mail.password
according to your newly created account. - Now, you are all set to run the app.