/spring-security-kotlin-demo

A demo project showcasing the implementation of Spring Security 6 with Kotlin

Primary LanguageKotlinMIT LicenseMIT

Spring Security with Spring Boot and Kotlin

This is a sample project to demonstrate the use of Spring Security 6 with Spring Boot 3 and Kotlin. It includes following features:

  • Authentication and Authorization with JWT tokens
  • H2 database to store data, so you don't need to set up any external database
  • Automatically setup initial database so you can just run and play with the data
  • Different endpoints for users and admins (Authorization)

Technologies Used

Resources

Contributing

Contributions are welcome! Please feel free to submit a pull request.

License

This project is licensed under the MIT License.