Skip to content

Authentication and authorization implementation for a spring boot application

Notifications You must be signed in to change notification settings

nhAnik/spring-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APIs for authentication and authorization

Setup

  1. Clone:
git clone https://github.com/nhAnik/spring-auth.git
cd spring-auth
  1. Install and setup postgres. You can use any other relational database. In that case, change spring.datasource.url in application.yml file.
  2. Create a database.
CREATE DATABASE auth;
  1. Change spring.datasource.username and spring.datasource.password in application.yml file.
  2. 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.
  3. Change spring.mail.username and spring.mail.password according to your newly created account.
  4. Now, you are all set to run the app.

Releases

No releases published

Packages

No packages published

Languages