Vimal1464/spring-boot-spring-security-jwt-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java VersionSpring Boot VersionSpring Security VersionJWT VersionMySQL Version

This repository contains a comprehensive example of token-based authentication using Spring Boot, Spring Security, and JSON Web Tokens (JWT). It includes integration with Spring Data JPA for database interactions and MySQL as the underlying database.

  • Token-based Authentication: Secure your Spring Boot application using JSON Web Tokens.
  • Spring Security Integration: Leverage Spring Security for robust authentication and authorization.
  • Spring Data JPA with MySQL: Store and retrieve user information using Spring Data JPA with MySQL database.
  • Maven Build: Simplify project management and dependency resolution with Maven.
  • Easy to Use: A well-structured example with detailed comments for easy understanding.
  • Java 17
  • Maven
  • MySQL 8.0 or later
  • MySQL WorkBench
  1. Clone the repository:

    git clone https://.com/Vimal1464/spring-boot-security-jwt-example.git
  2. Navigate to the project directory:

    cd spring-boot-security-jwt-example
  3. Configure MySQL database properties in src/main/resources/application.properties.

  4. Build and run the application:

    mvn spring-boot:run
  5. Access the application at http://localhost:8080.

Contributions are welcome! Feel free to open issues and pull requests.

About

About Spring Boot + Security: Token Based Authentication example with JWT, Authorization, Spring Data & MySQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages