项目作者: gokcan

项目描述 :
:dog: Quick web app with Spring
高级语言: Java
项目地址: git://github.com/gokcan/spring-pdf-service.git
创建时间: 2017-07-26T15:26:34Z
项目社区:https://github.com/gokcan/spring-pdf-service

开源协议:

下载


Spring Secured PDF Creator Build StatusQuality Gate


Before Use

  1. 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

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

Endpoints

  1. GET localhost:8080/ (Entry Point)
  1. GET localhost:8080/register
  1. GET localhost:8080/login
  1. 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