Giter Club home page Giter Club logo

spring_security_app's Introduction

spring_security_app

A security app I made with this tutorial: https://spring.io/guides/gs/securing-web/

#How to use:

  • get the terminal to locate the folder you have cloned
  • run gradlew bootRun in the terminal
  • go to localhost:8080 to see the applet
  • to login use the username: username and the password: password

#Issues I had:

  • The error detection while running bootRun with gradlew was abysmal at best. Errors would be too ambiguous and there was minimal documentation on what to do when an error occured. This left my standed for hours scouring the internet, trying to find an answer.
  • The file directory had to be exact or else gradlew bootRun would not work however, I could use the build and clean functions just fine.
  • For the java files the directory is:
    • Name of project
      • src
        • main
          • java
            • hello (or any other package name of your choosing. I just stuck with the default name for my own sanity)
  • For the html files the directory is:
    • Name of project
      • src
        • main
          • resources
            • templates
  • Build.gradle is still a pain in the neck especially on build. I needed to add the following lines of code to get it working:
    • apply plugin: 'application'
    • compile("org.springframework.boot:spring-boot-starter-thymeleaf") <- (This is for the dependencies{ } area)
    • springBoot { mainClass = "Application.java" } <- (I didn't end up needing this function but I thought I'd include it just in case some other poor person on the internet was having a similar issue)

spring_security_app's People

Contributors

rach-coster avatar

Watchers

James Cloos 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.