Repository navigation
v1.0.0
Getting Started
Reference Documentation
For further reference, please consider the following sections:
- Official Gradle documentation
- Spring Boot Gradle Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring Security
- Spring Data JPA
Guides
The following guides illustrate how to use some features concretely:
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
- Securing a Web Application
- Spring Boot and OAuth2
- Authenticating a User with LDAP
- Accessing Data with JPA
- Accessing data with MySQL
Additional Links
These additional references should also help you:
SpringRestfullStatelessStarter
A Spring Restfull (using JWT) & Stateless starter [UP TO DATE]
Based from- https://medium.com/@tericcabrel/implement-jwt-authentication-in-a-spring-boot-3-application-5839e4fd8fac
- https://github.com/tericcabrel/blog-tutorials/tree/main/springboot-jwt-auth
How to run ?
Recommended
- MySQL Server 8.2
Required - JDK 22
- MySQL Server (for other, edit build.gradle.kts)
This project is using Gradle Kotlin, please see `build.gradle.kts`
Please, before run, check application.properties
Custom with your values:
- server.port (Facultative to edit)
- spring.datasource.url
- spring.datasource.username
- spring.datasource.password
- spring.jpa.hibernate.ddl-auto (Facultative to edit)
- spring.jpa.open-in-view=false (Facultative)
- security.jwt.secret-key
- security.jwt.expiration-time (Facultative to edit)
To generate your own SECRET_KEY
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"(Source)[https://dev.to/tkirwa/generate-a-random-jwt-secret-key-39j4]
Run the project
gradlew bootRunFull Changelog: https://github.com/SteveHoareau18/SpringRestfullStatelessStarter/commits/v1.0.0