-
Java 17
-
Postgresql (Docker container)
-
JWT
- docker-compose up -d
http://localhost:8080/auth/createUserPOST
{
"name": "Furkan",
"username": "furkan",
"password": "pass",
"authorities": ["USER"]
}http://localhost:8080/auth/generateTokenPOST --> Generates token
{
"username": "furkan",
"password": "pass"
}http://localhost:8080/auth/userGET --> Add token above to Authorization key of the header of the request