use command:
gradle bootrun #Default port 8080
To create a jar,
gradle assemble #It will create a jar file in {ProjectRoot}/build/libs
# Run the jar file using:
java -jar {jarName} #Default port 8080
References:
https://auth0.com/blog/implementing-jwt-authentication-on-spring-boot/