always0ne / springboot-jwt-auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpringBoot Auth Server

Index

About SpringBoot Auth Server

This Project is for Quick Start SpringBoot Auth Server

Overview

Provide Features

  • JWT Authentication(use AccessToken and RefreshToken)
  • Pull Request Auto BuildTest
  • Build Docker image when merged develop(test) and master(release) branch
  • Api Docs

Getting Started

Dependencies

  • JDK11
  • All dependencies are managed by gradle

Deployment

this project build docker image automatically so deploy on docker

login github docker registry

sudo docker login https://docker.pkg.github.com --username [userName]

Deploy on server

  • deploy test server(develop branch)
sudo docker run -d  -p 8080:8080 --name=testserver \
-v /etc/localtime:/etc/localtime:ro  -e TZ=Asia/Seoul  --restart=unless-stopped \
docker.pkg.github.com/always0ne/springboot-auth-server/test:version
  • deploy running server(master branch)
sudo docker run -d  -p 8080:8080 --name=server \
-v /etc/localtime:/etc/localtime:ro  -e TZ=Asia/Seoul  --restart=unless-stopped \
docker.pkg.github.com/always0ne/springboot-auth-server/release:version

Contributing

If you see this project and have any points to improve or do not understand, please post any issues or Pull Requests. Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

MIT License

Copyright (c) 2020 always0ne

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

License:MIT License


Languages

Language:Java 99.6%Language:Dockerfile 0.4%