Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeerrryyyy/spring-auth-template
Simple Spring Security Authentication using JWT.
https://github.com/jeerrryyyy/spring-auth-template
authentication-backend jwt spring spring-boot spring-security template
Last synced: about 2 months ago
JSON representation
Simple Spring Security Authentication using JWT.
- Host: GitHub
- URL: https://github.com/jeerrryyyy/spring-auth-template
- Owner: Jeerrryyyy
- Created: 2024-09-07T19:41:57.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-18T22:27:52.000Z (2 months ago)
- Last Synced: 2024-09-26T03:41:58.355Z (about 2 months ago)
- Topics: authentication-backend, jwt, spring, spring-boot, spring-security, template
- Language: Kotlin
- Homepage:
- Size: 69.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring auth template
> Still in development.
## How to use
Just create a project from this template. You can use the model of `User` to add custom things to your user. Otherwise
just use spring as usual. A user service, controller and auth are already implemented.## Needs
- postgres db (`docker-compose.yml`)
- java version 21## Setup
- If no profile exists in your ide (if you are using intellij) create a new one which is running the `SpringAuthTemplateApplication` class.
- In dev make sure to start it in `dev` mode by selecting the environment in your run configuration.
- In prod make sure to activate `prod` as environment.