Giter VIP home page Giter VIP logo

hellokoding / hellokoding-courses Goto Github PK

View Code? Open in Web Editor NEW
698.0 698.0 2.2K 9.48 MB

HelloKoding provides practical coding guides series of Spring Boot, Java, Algorithms, and other topics on software engineering

Home Page: https://hellokoding.com

License: MIT License

Java 93.96% Dockerfile 0.08% CSS 0.59% JavaScript 1.37% HTML 3.27% FreeMarker 0.73%
algorithms data-structures java spring-boot spring-data-jpa spring-security

hellokoding-courses's Introduction

HelloKoding - Practical Coding Guides

HelloKoding provides practical coding guides series of Spring Boot, Java, Algorithms and other topics on software engineering

https://hellokoding.com

hellokoding-courses's People

Contributors

giaungo avatar giaunv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hellokoding-courses's Issues

Careful with Lombok's Data annotation

You're using it with BigDecimal. You may end up with things like 1.10 != from 1.1 or 1.100. Override the equals&hashCode methods on each class with BigDecimal in it

pom.xml could not be located

When I try to run the docker-compose up command, the pom.xml file could not be located and hence the maven command is not run.

C:\Dev\sandbox\hellokoding-courses\docker-examples\dockercompose-springboot-mysql-nginx>docker-compose up --build
Building app
Step 1/1 : FROM adoptopenjdk/maven-openjdk8
 ---> f167b3a06c25
Successfully built f167b3a06c25
Successfully tagged dockercompose-springboot-mysql-nginx_app:latest
Starting my-mysql ... done
Recreating my-app ... done
Recreating my-nginx ... done
Attaching to my-mysql, my-app, my-nginx
my-mysql | [Entrypoint] MySQL Docker Image 5.7.26-1.1.11
my-app   | [INFO] Scanning for projects...
my-app   | [INFO] ------------------------------------------------------------------------
my-app   | [INFO] BUILD FAILURE
my-app   | [INFO] ------------------------------------------------------------------------
my-app   | [INFO] Total time:  0.564 s
my-app   | [INFO] Finished at: 2019-06-17T08:23:53Z
my-app   | [INFO] ------------------------------------------------------------------------
my-app   | [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/app). Please verify you invoked Maven from the correct directory. -> [Help 1]

Do we need to copy the entire app folder first?

springboot-security-login-thymeleaf No message found under code 'NotEmpty.userForm.nickname' for locale 'en_US'.

Hello,

I know that this might be too much to ask, but i have real struggle with this error. I studied your code and tried to implement it into my little project. Could you please help me with this? If you dont have time, i understand.

Here is my source code in case you woul take a look:

https://github.com/Hyperxion/warehouse-manager

The issue is that I cant login with created account - username or password incorrect. For some reason, my app does not perform join select from user and roles table.

Thank you again.

[BUG] springboot-registration-login project's auto login method

In order to create the authentication token at the SecurityServiceImpl class, it's needed to pass to the constructor the password in plain text.

I recommend saving the password in registration mapping and then pass it to autologin.

Example:

@PostMapping("/registration")
    public String registration(@ModelAttribute("userForm") User userForm, BindingResult bindingResult) {
		String pw = userForm.getPassword();
        userValidator.validate(userForm, bindingResult);

        if (bindingResult.hasErrors()) {
            return "registration";
        }

        userService.save(userForm);

        securityService.autoLogin(userForm.getUsername(), pw);

        return "redirect:/welcome";
    }

Required bean of type ProductMapper

Hello :)

I'm getting below error when run the spring boot and \target\generated-sources folder is empty.
Kindly advise. Thanks in advance

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 1 of constructor in com.hellokoding.springboot.restful.product.ProductAPI required a bean of type 'com.hellokoding.springboot.restful.product.ProductMapper' that could not be found.


Action:

Consider defining a bean of type 'com.hellokoding.springboot.restful.product.ProductMapper' in your configuration.

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.