Spring Boot application providing authorisation for left-side applications
- Gradle - Dependency Management
- JDK - Java™ Platform, Standard Edition Development Kit
- Spring Boot - Framework to ease the bootstrapping and development of new Spring Applications
- PostgreSQL - Open-Source Relational Database Management System
- git - Free and Open-Source distributed version control system
- Thymeleaf - Modern server-side Java template engine for both web and standalone environments.
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main
method in the com.dukekan.springboot.authmicroservice.authmicroservice.AuthmicroserviceApplication
class from your IDE.
- Open IDEA
- File -> New -> Project from version control -> Print
https://github.com/DukeKan/authmicroservice.git
into the input field
- File -> New -> Project from version control -> Print
- Import the project as Gradle project
- Open terminal and run
gradle wrapper
to initialize Gradle wrapper - Create
authmicroservice
database with the help of any PostgreSQL client app - install Git Bash (for Windows)
- Run
./start.sh
in order to start application - Go to the http://localhost:8080/login page
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
Spring Boot Starter Security default username is test
and default password is test
URL | Method |
---|---|
http://localhost:8080/login |
GET |
http://localhost:8080/register |
GET |