gokcan / spring-pdf-service

:dog: Quick web app with Spring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

:dog: Quick web app with Spring


Languages

Language:Java 90.9%Language:JavaScript 4.7%Language:CSS 4.3%