Giter Site home page Giter Site logo

shono-ishibashi / demo-spring-security-simple Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rubytomato/demo-spring-security-simple

0.0 0.0 0.0 5.53 MB

OpenJDK 13, Spring Security with Spring Boot 2.2 Demo simple application

License: MIT License

TSQL 1.67% Java 41.96% CSS 0.22% HTML 56.15%

demo-spring-security-simple's Introduction

Spring Security With Spring Boot 2.2 Demo simple application

Development environment

  • OpenJDK 14.0
  • Spring Boot 2.2.7
  • Spring Security 5.2.4
  • H2
  • Gradle 6.3

Build & Run

build

gradlew clean build --warning-mode all

run

gradlew bootRun

or

java -jar .\build\libs\demo.jar

Demo simple application top page

http://localhost:8080/

top page

top

after login

top

database

using h2

DROP TABLE IF EXISTS login_user;
CREATE TABLE login_user (
  id BIGINT AUTO_INCREMENT                    COMMENT 'ユーザーID',
  name VARCHAR(60) NOT NULL                   COMMENT 'ユーザー名',
  email VARCHAR(120) NOT NULL                 COMMENT 'メールアドレス',
  password VARCHAR(120) NOT NULL              COMMENT 'パスワード',
  roles VARCHAR(120)                          COMMENT 'ロール',
  enable_flag TINYINT(1) NOT NULL DEFAULT 1   COMMENT '1:有効 0:無効',
  PRIMARY KEY (id),
  UNIQUE KEY (email)
)
ENGINE = INNODB
DEFAULT CHARSET = UTF8MB4;

h2-console

http://localhost:8080/h2-console

demo-spring-security-simple's People

Contributors

rubytomato avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.