Skip to content

gokcan/spring-pdf-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Secured PDF Creator Build StatusQuality Gate


Before Use

mysql.server start

Also change mysql user to = root , password to = 987654321

(if you want to define your own mysql user credentials change the application.properties file.

Do not use "user = root" on production stage!


How to play with this project

Just execute it with maven

git clone https://github.com/gokcan/Spring-Secured-PDF.git
cd Spring-Secured-PDF
mvn spring-boot:run

Endpoints

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.

forthebadge