:dog: Quick web app with Spring
mysql.server start
(if you want to define your own mysql user credentials change the application.properties file.
Do not use “user = root“ on production stage!
git clone https://github.com/gokcan/Spring-Secured-PDF.git
cd Spring-Secured-PDF
mvn spring-boot:run
GET localhost:8080/ (Entry Point)
GET localhost:8080/register
GET localhost:8080/login
GET localhost:8080/list-users
“List Users in a table” and “Download PDF” features are not allowed to normal users.
On the other hand, freshly registered users have the Admin role by default.However you can change this logic and tailor it to your needs.