Skip to content

A Spring Boot Application that allows users to register into the system and receive a token that can be used to access different endpoints.

Notifications You must be signed in to change notification settings

kylerequez/Spring-Boot-Users-Application-Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring-Security-User-Login-and-Registration

This is a sample Spring Boot application that provides the following:

  1. User login and registration
  2. Database connectivity which is configurable through the application.yaml file
  3. JWT authentication in urls that are filtered in the web security config class

How to run the application?

  1. Download/Clone the repository
  2. Using an IDE (preferably Intellij), change the configuration in the application.yaml file found under the resources folder
  3. Run the application
  4. Run Postman and create a POST request through the URL "/api/v1/auth/register" with the following request body format: image
  5. Open your email and click the link provided to verify your registration. image image
  6. Once you have successfully registered, log in through the URL "/api/auth/login" with the following request body format: image
  7. Once you have successfully logged in, use the access token to access the different functionalities of the system through the url "/api/v1/users". An example is creating a GET request in the said URL. image

Soon to be updated features:

  1. Front-end design and functionality
  2. Automated Tests using Mockito

About

A Spring Boot Application that allows users to register into the system and receive a token that can be used to access different endpoints.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages