Soitio
Soitio
  • Видео 68
  • Просмотров 42 496
Markdown As Fast As Possible!
Markdown is great for creating content. I use it everyday for making notes or even documents in my work. Markdown just makes it easy and fast and that's why I love it!
You like my videos?
Leave a like 👍 and Subscribe www.youtube.com/@SoitioDev?sub_confirmation=1
Check out my site:
www.soitio.com/
Visit me live on Twitch:
www.twitch.tv/soitio
Просмотров: 394

Видео

Blog Website Astro + Github as CMS for FREE!
Просмотров 2214 месяца назад
Deciding what to use to build a website is challenging. I choose Astro and Github to create my blog page and It turned out awesome! You like my videos? Leave a like 👍 and Subscribe www.youtube.com/@SoitioDev?sub_confirmation=1 Check out my site: www.soitio.com/ Visit me live on Twitch: www.twitch.tv/soitio
Astro As Fast As Possible!
Просмотров 3134 месяца назад
Astro is a great framework for creating content-driven websites. It supports all popular frontend libraries like React, Vue.js, Svelte and more allowing You to build more Web Applications! Read more about Astro here: astro.build/ You like my videos? Leave a like 👍 and Subscribe www.youtube.com/@SoitioDev?sub_confirmation=1 Check out my site: www.soitio.com/ Visit me live on Twitch: www.twitch.t...
How To Performance Test Spring Boot Using Gatling!
Просмотров 3944 месяца назад
Learn How to Effectively Performance Test Your Spring Boot Applications with Gatling! Are you looking to optimize the performance of your Spring Boot applications? Look no further! In this comprehensive RUclips video, I will teach you how to use Gatling, an open-source load testing tool written in Scala. Discover the power of Gatling for efficient and reliable performance testing on your Spring...
How To Monitor Spring Boot Applications! (Prometheus + Grafana)
Просмотров 2454 месяца назад
Learn how to effectively monitor your Spring Boot applications using Prometheus and Grafana in this comprehensive video tutorial! Get hands-on experience setting up monitoring tools, working with metrics collection, and troubleshooting issues. Ideal for developers, system administrators, DevOps professionals, or anyone interested in enhancing their software development skills and improving the ...
Google Guice Under 5 Minutes!
Просмотров 7615 месяцев назад
Discover how to boost your Java application performance and streamline your coding process with Google Guice - a powerful dependency injection framework! In this video we will explore Google Guice and Servlets by creating a Web Application. It is so much different to what You are used to when using Spring Boot for example. What do You think of it? Do You like it? Le me know in the comments! You...
Java 22 is FINALLY HERE! And I love it!
Просмотров 1,9 тыс.5 месяцев назад
Discover the latest features and improvements in Java Development Kit (JDK) 22! In this short video, we'll cover 4 out of 12 most interesting new updates and enhancements to exciting innovations and language changes introduced in 2024. We will explore the changes in variables, Strings, Streams and Instance Main Methods! Gain a deeper understanding of the evolving world of Java technology. Wheth...
Spring Boot In 5 Minutes!
Просмотров 1,5 тыс.6 месяцев назад
In this video, we introduce you to the powerful and efficient Java development framework, Spring Boot. Learn how to create lightweight applications, build microservices architecture, and rapidly deploy RESTful APIs using Spring Boot's unique features like easy configuration, auto-configuration capabilities, and a wide range of starter packs. Discover benefits such as production-ready applicatio...
Testcontainers - As Fast As Possible
Просмотров 7426 месяцев назад
Tired of setting complex test environments? Or you cannot Mock some external dependency in Your Spring project? Testcontainers can speed up and improve your integration tests. Come and see how You can with ease use Testcontainers in Spring Boot application for integration tests! With Spock framework and Testcontainers we will setup and use PostgreSQL database! Make sure to have Your Docker work...
Micronaut - As Fast As Possible
Просмотров 2807 месяцев назад
Micronaut - As Fast As Possible
Quarkus As Fast As Possible
Просмотров 727 месяцев назад
Quarkus As Fast As Possible
Well, I'm Back!
Просмотров 609 месяцев назад
Well, I'm Back!
00 - Introduction to Java
Просмотров 59Год назад
00 - Introduction to Java
Do You Know REGEX?
Просмотров 38Год назад
Do You Know REGEX?
Introduction To Resource Management in Kubernetes!
Просмотров 177Год назад
Introduction To Resource Management in Kubernetes!
Have You Ever Encountered CORS Error?
Просмотров 188Год назад
Have You Ever Encountered CORS Error?
Write Better Conditions in Java!
Просмотров 111Год назад
Write Better Conditions in Java!
How to Upload and Use Images Inside Fullstack Application! - Tutorial
Просмотров 205Год назад
How to Upload and Use Images Inside Fullstack Application! - Tutorial
How To Refresh JWT in Spring Boot? - Tutorial
Просмотров 5 тыс.Год назад
How To Refresh JWT in Spring Boot? - Tutorial
Kubernetes - What Even is That?
Просмотров 484Год назад
Kubernetes - What Even is That?
Helm - Awesome Tool to Make YOUR Kubernetes Deployments Easier!
Просмотров 125Год назад
Helm - Awesome Tool to Make YOUR Kubernetes Deployments Easier!
Build and Deploy Docker Images in Jenkins Pipelines! (Tutorial)
Просмотров 200Год назад
Build and Deploy Docker Images in Jenkins Pipelines! (Tutorial)
New Feature! What it Has To Do With Groups? - #16 Project Management Application
Просмотров 36Год назад
New Feature! What it Has To Do With Groups? - #16 Project Management Application
What is My CICD Workflow? - #14 Project Management Application
Просмотров 76Год назад
What is My CICD Workflow? - #14 Project Management Application
Baby Steps to Perfection - #13 Project Management Application
Просмотров 43Год назад
Baby Steps to Perfection - #13 Project Management Application
10 Spring Boot Interview Questions and Answers! | Will help you pass Technical part
Просмотров 105Год назад
10 Spring Boot Interview Questions and Answers! | Will help you pass Technical part
Current Status + Future Ideas - #12 Project Management Application
Просмотров 41Год назад
Current Status Future Ideas - #12 Project Management Application
How to Test Spring Boot with Spock? - Tutorial
Просмотров 2,9 тыс.Год назад
How to Test Spring Boot with Spock? - Tutorial
Registration Confirmation and Password Recovery with Tokens! - #11 Project Management Application
Просмотров 200Год назад
Registration Confirmation and Password Recovery with Tokens! - #11 Project Management Application
Authentication Integration! Oh man... - #10 Project Management Application
Просмотров 154Год назад
Authentication Integration! Oh man... - #10 Project Management Application

Комментарии

  • @tehsimo
    @tehsimo 2 месяца назад

    Can’t even read the code

    • @SoitioDev
      @SoitioDev 2 месяца назад

      Yeah, for some reason RUclips is kinda cropping the video...

  • @commenter260
    @commenter260 3 месяца назад

    for the main method instead of using public static void main(String[]args) now we can just say void main() right ?

    • @SoitioDev
      @SoitioDev 3 месяца назад

      Yeah that's right, since Java 22 you can just say void main() But it is a preview feature, you have to enable it with --enable-preview flag, I am not sure when it will be added normally, maybe in Java 23 or Java 25 LTS

    • @commenter260
      @commenter260 3 месяца назад

      @@SoitioDevI am using intellije do you know how can I enable that feature?

    • @SoitioDev
      @SoitioDev 3 месяца назад

      In Intellij it is a little different, first You are required to have a latest Intellij version. Next go into File > Project Structure > Project and choose SDK 22 and keep language level 'SDK default' If you already had some run configurations, go into Edit configurations and check if SDK is set to proper one This will enable preview features without any additional flags

  • @ANTARist
    @ANTARist 3 месяца назад

    Finally , we have dotnet 2015 here :)))

    • @SoitioDev
      @SoitioDev 3 месяца назад

      What do You mean? I don't get it :D

  • @xskii
    @xskii 3 месяца назад

    id rather see more creativity than a stolen video format from fireship

    • @SoitioDev
      @SoitioDev 3 месяца назад

      Tell me, how is it stolen? What exactly did I steal? 🤔 My videos may look similar to Fireship videos as well as other Tech RUclips channels. I was inspired by Fireship thanks to how his videos were interesting and of high quality which I am also trying to achieve. My videos tackle different niche of Software Engineering, topics that I like and the format that I use for my videos is still WiP

    • @xskii
      @xskii 3 месяца назад

      @@SoitioDev technically you didnt steal anything, but you did take his style. From the thumbnails to the beginning of your 'as fast as possible' series videos being alike his 'x in 100 seconds...' videos... the style is damn near identical to Fireships. You even insert meme gifs during commentary for your visual representation which isnt only done by Fireship but you still did it in a way that resembles his videos closely. I'm glad youre inspired by his high quality videos, so are many others. But they're high quality because its his own style done his way with his humor. You need to create a style catered more to you, the quality of the video is from his style, but its high quality moreso because he can convey the concepts he wants with his easy-to-understand visual representation, in HIS way. I'll give you credit because im very glad to see another channel alike Fireship, but be more creative, your entire channel has too much of his influence, it needs its own identity.

    • @SoitioDev
      @SoitioDev 3 месяца назад

      I see, You are right. My 'as fast as possible' videos might be to much alike his. I will be honest with You, at first I was a little mad about Your comment 😅 but after You explained in more details Your point of view I gained some really valuable insight, thanks for this! Making RUclips videos is hard, especially around software which are informative and not boring. Thanks again for commenting! I will try to improve this format in the future so that it will resemble me and my style more.

    • @xskii
      @xskii 3 месяца назад

      @@SoitioDev 😂😂 I'm glad you were mad, it just means you need more criticism! im a cs student but have also been producing beats for around 6+ years and for half the time i was really ass with what i was making(youll see where im going with this)😂 but i got to a point where i was trash yet didnt know what more i could improve so i unknowingly had put myself on a higher pedestal mentally, aka i was shit but thought i was pretty good. I go to play my boys some beats i thought were hard, and they didnt fuck with them at all😂 And thats when i knew i needed alot of criticism, because i had noticed that I reacted slightly mad/annoyed at first, but it allowed me to lower myself away from where i thought i was skill wise and be even more humble. Where you have to be at now is keep trying to improve, but be glad if people point something out because the more criticism you receive the more knowledgable and motivated you are for needed improvement. And to end the yapping, this is where im at now, in contrast to the time my boys werent rocking with the beats i was making. I go to chill an smoke with my boys while the kendrick lamar and drake music industry beef is going on, and i made a beat that i thought was hard hitting and could be a high quality song if an artist used it, but i wasnt entirely sure how people like me would think (AKA i wanted to have the beat criticized by people/friends with good judgement so I can trust my own judgement on my work more). So i tell my boy to play the beat in his car and the first thing one of then says is "bro we might have to hop on this this shit is hard". And that feeling knowing the work i put in to create that beat paid off and have some of my close friends(who would say its trash if it was) genuinely like it was immense. So keep improving! One of the best ways to improve is referencing, which youve already done😂 But reference high quality videos that you like alot. Im in my low 20s so im not a genius or anything but my advice to you is to take pointers more from the 3b1b yt channel and how he visually presents everything, his video style is unique and has inspired alot of other people alike fireship but many cant present concepts as visually pleasing as he does. High quality references, criticism, and motivation are the 3 things that have helped me the most in anything technological related that i do. So keep it up bro🔥 i'll be watching these alot and if you need any background music or beats my soundcloud is prod.xski give any a listen hit me up and ill send the files, or hit me up and i can make some background tracks thatd be exclusive to you either for free or very very cheap.

    • @SoitioDev
      @SoitioDev 3 месяца назад

      Hahaha yeah I could use some more nice criticism 😂 Actually You were the first one in a while so again, thanks a lot. Up to this moment the only feedback that I could get was from the analytics. I really liked Your story about creating beats, the part with playing it in the car is so clever! You could get honest feedback on what is working and what not. I see that You have some beats uploaded on Your channel, I will check them out later. Choosing the right music for the video is one of the hardest parts, having an exclusive could make this process a lot easier so thanks for the offer! 😁

  • @dzakibuchori685
    @dzakibuchori685 4 месяца назад

    Looking for this, and I am here for the first comment, thanks so much Soitio channel

    • @SoitioDev
      @SoitioDev 4 месяца назад

      I am glad to hear that! 😄 Thanks for commenting, I thought that maybe it will be interesting to watch

  • @grn-xx
    @grn-xx 4 месяца назад

    I love java :D

    • @SoitioDev
      @SoitioDev 4 месяца назад

      Me too ;D I tried a lot of different languages and Java is by far my favorite 🔥

    • @davidwaziri333
      @davidwaziri333 4 месяца назад

      ​SoitioDev same with me, Java is my best

  • @SoitioDev
    @SoitioDev 4 месяца назад

    This first graph was playing with me... Anyway It went well, what do You think?

  • @codingsavid6509
    @codingsavid6509 5 месяцев назад

    sosapa haz eso bn careverga, dile a russa que me quiera

    • @SoitioDev
      @SoitioDev 4 месяца назад

      Thanks for commenting! But I can't understand and google is not helpful. I would be grateful if you could help with translation :)

  • @SoitioDev
    @SoitioDev 5 месяцев назад

    What is Your favorite feature? For me String Templates I think 🔥

  • @wa57s577
    @wa57s577 6 месяцев назад

    I don't see what do you mean with using DTOs for that?

    • @SoitioDev
      @SoitioDev 6 месяцев назад

      I mean we are returning Entity object directly into controller and also we are using it to return and accept data into our application. For this use case we should create a dedicated DTO class with for example all the fields from our entity. Then instead of returning result of findAll() method from our service we should map the data into this DTOs and return them. I hope that now It is clear :) Thanks!

  • @SoitioDev
    @SoitioDev 6 месяцев назад

    Hey Guys! I would like to know how do You approach starting a new Spring Boot project? Also, when it comes to API, have you used Swagger before? Let me know what's Your take on this!

    • @octioctivius1262
      @octioctivius1262 6 месяцев назад

      I just copy everything from my previous project and remove stuff that I don't need 😂 I never heard of this swagger thing, it looks cool tho I have to check it! Great video, thanks!

    • @SoitioDev
      @SoitioDev 6 месяцев назад

      I've also been there, I don't recommend it. It's a nightmare upgrading to newer versions of Spring or Java later instead of choosing latest in the first place. I'm happy to hear that You liked this video, glad to have You here! :D

  • @AnkitTiwari-qt5ds
    @AnkitTiwari-qt5ds 6 месяцев назад

    Hi.. I am doing everything as you're doing and Get All and Create API is working but when I am trying to use the Delete and Update API then I am getting the CORS issue.. what could be the reason??

    • @SoitioDev
      @SoitioDev 6 месяцев назад

      Hey, thanks for asking! Which approach are you using? Global one or per endpoint?

  • @ulugbektoshmatov3433
    @ulugbektoshmatov3433 8 месяцев назад

    Hey, what an advanced stuff you explained. if you could release videos explaining such topics with more details in depth, that would greatly increase the number of views of your videos, awesome👍

    • @SoitioDev
      @SoitioDev 6 месяцев назад

      Thanks for suggestion! Maybe in the future I will make updated in depth look :)

  • @justbelieveinmyself
    @justbelieveinmyself 11 месяцев назад

    Огромное спасибо за материал❤

  • @tomacostel8144
    @tomacostel8144 Год назад

    Please SIR PLEASE MAKE MORE VIDEOS !!!!!!!!!!!!!!!!!! PLEASE INCREDIBLE HELPFUL!!!!!!!!!!!!!!!!!!

  • @righettech
    @righettech Год назад

    Really good video, man. Helped me a lot. Thank you!

  • @madalinanina1
    @madalinanina1 Год назад

    very helpful, thanks! 🙌

  • @rajeevsai91
    @rajeevsai91 Год назад

    Thank you for showing us the code for both access token generation as well as consumption using APIs. My doubts are cleared after watching this video. Hope you continue providing more great content like this.

  • @RogelioGarcia-ie4iv
    @RogelioGarcia-ie4iv Год назад

    How do you save a user and then log in? Is the password encrypted?

    • @SoitioDev
      @SoitioDev 6 месяцев назад

      Sorry for responding so late! Users for this demo purposes are created on application startup github.com/MaciejDromin/Tutorials/blob/main/jwttutorial/src/main/java/pl/mlisowski/jwttutorial/InitUsers.java to support user register you would have to create and implement /register endpoint. To login you just have to send POST request under /login endpoint with expected body which later will go into the filters and check whether user exists or not and authenticate his credentials. Yes password is encrypted, you can check it in the same class InitUsers and trace down the PasswordEncoder in SecurityBeans class where you can see that we are using BCryptPasswordEncoder implementation. Hope it helps!

  • @sujitkumar2196
    @sujitkumar2196 Год назад

    Excellent Dromin...

  • @ziaulhaq7032
    @ziaulhaq7032 Год назад

    Really appreciate it.

  • @AGAGARCIA
    @AGAGARCIA Год назад

    Thanks a lot for your time and help!

  • @roebinin
    @roebinin Год назад

    Thanks for the great code example. The only downside is the video quality. But your github is a good solution)) Regards!

    • @SoitioDev
      @SoitioDev Год назад

      Thank you for commenting! Can you elaborate a little on the video quality? You mean resolution, sound, font size or something else?

  • @bravespirit1694
    @bravespirit1694 Год назад

    Hi. I have one question. When the access token is expired, we need to refresh it with /auth/refresh endpoint. But if it is expired, the AuthorizationFilter when intercepting this endpoint will throw an erorr that token is expired. Maybe i didn't see smth in the code, but why u are not getting this error in the video? Should i permitAll() this endpoint ot it is not a good practise?

    • @bravespirit1694
      @bravespirit1694 Год назад

      I was passing expired token to the Authorization header when trying to refresh it. So it is solved now. Great tutorial. Thanks

    • @SoitioDev
      @SoitioDev Год назад

      Thank You for the kind words and It's great to hear that you were able to solve this one on your own :D

  • @erick9158
    @erick9158 Год назад

    can you implement it in jwt entitynotfoundexception ?

    • @SoitioDev
      @SoitioDev Год назад

      You want me to implement this Global Error Handling in code from JWT video, am I right? :)

    • @erick9158
      @erick9158 Год назад

      Yes.. you are absolutely right, because I have tried to make it and it doesn't work, I hope you make it because I'm sure what you make will help many people, not just me 😁

    • @SoitioDev
      @SoitioDev Год назад

      Can You share your code? It may be just the case of catching different exception :)

  • @bryanwilliam7366
    @bryanwilliam7366 Год назад

    Thank you Dromin, I did a full backend/api to login/register based on yours, now I'm trying to build the angular front-end!

    • @SoitioDev
      @SoitioDev Год назад

      I'm very glad to hear that You were able to learn from this and use it for your own purposes :D

    • @bryanwilliam7366
      @bryanwilliam7366 Год назад

      @@SoitioDev I'm having some problems now, understanding and implementing the angular app, do you have any video using this API with a front-end? So I can try to do it by myself. My problem is: I'm not that familiar with angular, so I'm struggling to make the login/register work

    • @SoitioDev
      @SoitioDev Год назад

      Yes I do have such video, but it is not really a tutorial but rather my progress on application development: ruclips.net/video/qqEnS7b0x9w/видео.html The case is, that depending on the framework you use It may differ. In the general your frontend application during login have to pass user credentials to backends /login endpoint, if the response is successful you create session / cache JWT in some kind of store and when you try to access some secure resource you have to use it in the header. For logout you just have to delete this store / session.

  • @bryanwilliam7366
    @bryanwilliam7366 Год назад

    Hi, if I want to set up a register, is it just to set a create on my repository and a new route on the controller as normal? And if I want to set up a logout, do you have any tips?

    • @SoitioDev
      @SoitioDev Год назад

      Yes, you can take a look how I did that in this video: ruclips.net/video/mhnk8tClKNE/видео.html To setup login, you simply have to forget JWT from the store / auth in your frontend.

    • @bryanwilliam7366
      @bryanwilliam7366 Год назад

      @@SoitioDev Couldn't understand how to register with the video, I'm kinda new on it

    • @SoitioDev
      @SoitioDev Год назад

      Alright, so basically you have to create a new endpoint /register somewhere in your controllers where you pass credentials. This is also a good spot to do some validation on field / if the user with given name / email already exists. Then from this credentials you create object of your user and save it inside DB, after successful save you just return this newly created user.

  • @bodmer-od7js
    @bodmer-od7js Год назад

    Awesome, ty!!!

  • @sathishrengan4930
    @sathishrengan4930 Год назад

    clear explanation..

    • @SoitioDev
      @SoitioDev Год назад

      Thank you Sathish, I'm glad that I have explained this clear enough! :D

  • @rajansonvane488
    @rajansonvane488 Год назад

    Thanks for sharing

  • @zabialy2919
    @zabialy2919 Год назад

    Great tutorial as always

  • @anthonydossantos9306
    @anthonydossantos9306 Год назад

    Thanks for the tutorial, I'm new in springboot I use maven and I don't have like you to configure the properties file of jwt . With maven there is no: jwt: expiry: secret: refreshToken: expiry: Can you tell me if maven and gradle use the same dependencies. Thank you very much

    • @SoitioDev
      @SoitioDev Год назад

      Hey Anthony! Those are not related to maven nor the gradle. They are user-defined properties inside file "application.properties" or "application.yaml" (depends on your's file format) so that you can use them inside SpringBoot application, is this clear for you now?

  • @bryanwilliam7366
    @bryanwilliam7366 Год назад

    If I'm interested to implement a custom login with a front-end how would I proceed?

    • @SoitioDev
      @SoitioDev Год назад

      Hello Bryan, can you tell me a little bit more on what you are trying to achieve? Correct me If I'm wrong, but you want to implement this JWT Auth together with some frontend?

    • @bryanwilliam7366
      @bryanwilliam7366 Год назад

      @@SoitioDev Yes, I will implement this jwt auth with an angular app. I will have a dashboard ( for admin role only) and a user page with some small interactions. I'm struggling on how to use this tokens to access my routes

    • @SoitioDev
      @SoitioDev Год назад

      Right, then it is simple, on frontend you just have to create login page where you will be sending request with credentials under BE /login endpoint, you save the response (JWT) in some kind of store, and then you just have to use this inside "Authorization" header everytime when sending a request to the protected BE endpoints. Angular probably has some kind of Auth module which you could use, so that you don't have to write all this yourself.

    • @bryanwilliam7366
      @bryanwilliam7366 Год назад

      @@SoitioDev this is good to know, I'll find this out right now, thank you for the help! Keep the good work 😁

    • @SoitioDev
      @SoitioDev Год назад

      Thank you! I will do my best :D In case of any more questions feel free to ask and good luck!

  • @zabialy2919
    @zabialy2919 Год назад

    Good Tutorial!

  • @coderlady_
    @coderlady_ Год назад

    Hi, you are going so fast and the screen is so zoomed out please, go sloer with more explanations and zoom in a little bit

    • @SoitioDev
      @SoitioDev Год назад

      Hi, thanks for your feedback! I will try to explain more on what I'm doing, slow down a bit, and yeah, font could be a little bigger... :D

    • @coderlady_
      @coderlady_ Год назад

      @@SoitioDev thank you

  • @LucasBatista0
    @LucasBatista0 Год назад

    Thanks for the tutorial. i'm having a problem with deserialization of my User Authorities, can you help me with this? The following error aways happen when my user have some role stored: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.springframework.security.core.GrantedAuthority` (no Creators, like default constructor, exist): abstract types either need to be mapped to concrete types, have custom deserializer, or contain additional type information PS: Sorry for my english, i'm brazilian.

    • @SoitioDev
      @SoitioDev Год назад

      This is not a problem with deserialization, from what I can see you are trying to create an instance of GrantedAuthority which is an abstract class. Look for a place in code, if you have copied my code probably inside a user entity and getAuthorities method, there you should be creating an object of SimpleGrantedAuthority. Let me know if you have found the issue, if not I would have to take a look inside your code. Also never be sorry about your foreign language skills, good thing you are trying and not scared of using it, anyway it is pretty good :)

    • @LucasBatista0
      @LucasBatista0 Год назад

      @@SoitioDev Thanks for the reply. I realize that my front end app was receiving a attribute "authorities" in my User Entity and then sendding it back, causing the problem. It's already solved.

  • @maneshipocrates2264
    @maneshipocrates2264 Год назад

    Good vdeo. please do this with the new spring authorization server

    • @SoitioDev
      @SoitioDev Год назад

      Thanks! Can you elaborate a little? You would like me to show how to set up OAuth2 authentication?

    • @maneshipocrates2264
      @maneshipocrates2264 Год назад

      @@SoitioDev yes I am saying something like a using the spring-authorization-server to set up a client-authorizationserver-resourceserver three tier services system maybe? Of course if you want.

    • @SoitioDev
      @SoitioDev Год назад

      hmm I guess I could make such a video to show other way of handling Auth. So if you are interested make sure you are subscribed to not miss this video! :D

  • @funity5577
    @funity5577 Год назад

    Hello, in your last video on Role based token you used /login endPoint to generate a token. Can u help pls ? can i see your Controller pls ?

    • @SoitioDev
      @SoitioDev Год назад

      Hey! Using this approach we don't have to define a custom controller with /login endpoint. When we setup Spring Security it creates a default controller with /login endpoint which we just utilize by attaching our custom filers to it's logic. You just have to send a request under /login endpoint with a body matching structure of LoginCredentials class and of course valid credentials. If something is still unclear, feel free to ask :) Also code is available on my Github, link is in the description so you can also check it out there

  • @funity5577
    @funity5577 Год назад

    Hello, nice tutorial , but idk how to use this in /login endPoint to generate a token. Can u help pls ? can i see the controller for /login ?

    • @SoitioDev
      @SoitioDev Год назад

      Hey! Using this approach we don't have to define a custom controller with /login endpoint. When we setup Spring Security it creates a default controller with /login endpoint which we just utilize by attaching our custom filers to it's logic. You just have to send a request under /login endpoint with a body matching structure of LoginCredentials class and of course valid credentials. If something is still unclear, feel free to ask :) Also code is available on my Github, link is in the description so you can also check it out there

    • @funity5577
      @funity5577 Год назад

      @@SoitioDev Thanks you, and you have a discord or something like this ?

    • @SoitioDev
      @SoitioDev Год назад

      Yes, I have discord: discord.gg/PnsCpKnwEf You can reach me there if you wish, sometimes it takes me longer to answer, but I try my best to respond as quickly as possible

  • @hexadecimalhexadecimal5241
    @hexadecimalhexadecimal5241 Год назад

    would companies be interested in hiring junior ppl who can use this feature plus a few others in a full stack project?

    • @SoitioDev
      @SoitioDev Год назад

      For sure It would help. Not in the way "Hey this is my code, check it out", but rather in the knowledge you have gained. Companies for Junior position tend to check general knowledge, on Java, core Spring concepts, ORM, problem solving (includes Design Patterns) and your knowledge of common algorythms. Are you just starting and learning to land your first job?

    • @hexadecimalhexadecimal5241
      @hexadecimalhexadecimal5241 Год назад

      @@SoitioDev Yes. Iv have been programming on and off since 2017, i have some education but its not complete and i left during C0vid to work in a warehouse, however i do remember and was taught some basics such as networks(routing switching, basic security), C, Java springboot, Angular, SQL, also created a few basic full stack applications. As of right now have a bunch of courses on udemy which span alot of topics. Im figuring if i can create about 4 full stack apps somewhat decently made coupled with a good linkedin github resume cover letter, i might have a decent chance at landing a job. However im terrible at leetcode....that will ALOT OF WORK.

    • @hexadecimalhexadecimal5241
      @hexadecimalhexadecimal5241 Год назад

      @@SoitioDev also i dont really have much code to show what i know or understand so i have to write alot and be more consistent.

  • @Kim-tr5op
    @Kim-tr5op Год назад

    nice video, but, how would u store the image in a postgres database?

    • @SoitioDev
      @SoitioDev Год назад

      Thanks! Well only if you promise me that it is purely from curiosity and not because you want to try this :D So in your database table you would have a regular String field, before adding a record to the database you would have to convert your image into Base64 which would return you a String, and then simply save it.

    • @Kim-tr5op
      @Kim-tr5op Год назад

      @@SoitioDev just curious Kim asking :p

  • @cmctest3530
    @cmctest3530 Год назад

    Damn bro, works like a charm, Thanks man, Finally able to learn it!

    • @SoitioDev
      @SoitioDev Год назад

      I'm really glad to hear that you could learn something from this :D

  • @BhaaRaThh
    @BhaaRaThh Год назад

    After I fix bug how I can update on production server.

    • @SoitioDev
      @SoitioDev Год назад

      That's a good question! The answer depends on your deployment. If you have a kubernetes deployment, with a pull policy "always" even a simple pod deletion will update your code if a new Image exists in the repository. Can you tell me more about your specific case? Maybe I can help more! :D

    • @BhaaRaThh
      @BhaaRaThh Год назад

      @@SoitioDev i got intrest in kuberneties after this example. Till today I'm learning monolithic applications. I do some practice after ping u. Love you 😍 for your support.

    • @SoitioDev
      @SoitioDev Год назад

      Kubernetes is a really great tool, but it may be a little difficult at first to learn. To set up a cluster for your practice you could try Minikube or Microk8s on Ubuntu Server (this is how I do it). Good luck mate! And sure, ping me later after some practice! :D

    • @BhaaRaThh
      @BhaaRaThh Год назад

      @@SoitioDev yah sure, thank you

  • @BhaaRaThh
    @BhaaRaThh Год назад

    Nice explanation 👍

    • @SoitioDev
      @SoitioDev Год назад

      Thank you! Was it easy to understand? :D

    • @BhaaRaThh
      @BhaaRaThh Год назад

      @@SoitioDev i watched twice. If anyone working on projects can get easily

    • @SoitioDev
      @SoitioDev Год назад

      I'm happy to hear that!

  • @BhaaRaThh
    @BhaaRaThh Год назад

    Great video

    • @SoitioDev
      @SoitioDev Год назад

      Thank you! :D Have you found everything you need in this video, or there were some topics lacking which you would like to see?

    • @BhaaRaThh
      @BhaaRaThh Год назад

      @@SoitioDev yup i hot high level view i need to practice

    • @SoitioDev
      @SoitioDev Год назад

      Awesome! In case of any trouble, feel free to reach me, I'm happy to help! :D

  • @BhaaRaThh
    @BhaaRaThh Год назад

    Can you do one video on RUclips about full cicd process please 🥺

    • @SoitioDev
      @SoitioDev Год назад

      Hey! Thanks for commenting :D can you tell me a little more what You would expect from this video? General explanation what CICD is, how to write your pipeline, automatic testing?

    • @BhaaRaThh
      @BhaaRaThh Год назад

      @@SoitioDev thank you for your support 😍😍. How a java developer do work in company using cicd.

    • @BhaaRaThh
      @BhaaRaThh Год назад

      If you also show automations that's great. I will share in my college also.

    • @SoitioDev
      @SoitioDev Год назад

      Right, It really depends on the company, but doesn't this video answer your question pretty much? Development flow should look like this in my opinion: Developer makes changes in code > deploys code to testbed > tests his change in environment > code review > merge. I will try to think of some full tutorial regarding jenkins, pipelines etc in relation to Java Developer role. But in the meantime you may want to check out this video, where I show how to setup a pipeline like I have ruclips.net/video/tNmMoyBI-g8/видео.html. Please, let me know what You think, have I answered Your question or if you still feel unsatisfied. GL in your classes! :D

    • @BhaaRaThh
      @BhaaRaThh Год назад

      @@SoitioDev yah my doubt clarified

  • @GROOVETECHSETS
    @GROOVETECHSETS Год назад

    Very clear and didactic! Thank you :)

    • @SoitioDev
      @SoitioDev Год назад

      Nice to hear that you liked it! Did you needed that for a project of yours? :)

  • @cmctest3530
    @cmctest3530 Год назад

    Awesome Bro, easy to code and short. Anyway, do you have any idea on how to solve the CORS problem from Browser?

    • @SoitioDev
      @SoitioDev Год назад

      Thanks! This is a good question. CORS tend to cause a lot of trouble, are you having this issue while fetching data from the server? One way to fix the CORS problem is to create a Bean which returns WebMvcConfigurer, there you will need to override addCorsMappings method and simple addMapping which you want to cover and add allowedOrigins (in this case would be your FE URL) or you can simple disable CORS in yours configuration, but I don't recommend this for a production environment. Maybe I could create a video covering this topic in details, would You like to see one?

    • @cmctest3530
      @cmctest3530 Год назад

      @@SoitioDev Thank you bro, I already managed to solve it using the configuration method. Moreover, do you want to show how to do the refresh as well as the logout token?

    • @SoitioDev
      @SoitioDev Год назад

      That's great to hear! I was thinking of creating this refresh token in the future, as some kind of followup video, would You like to watch it?

    • @cmctest3530
      @cmctest3530 Год назад

      @@SoitioDev Oh yes of course bro, will watch it as the follow up video, already subscribed to you so I can get the follow up ASAP man!

    • @SoitioDev
      @SoitioDev Год назад

      Awesome, thank you! I will release this video in the near future. I will see you around then :)

  • @yassinebousseha8191
    @yassinebousseha8191 Год назад

    thank you

    • @SoitioDev
      @SoitioDev Год назад

      Your Welcome! But if you are interested in step-by-step explanation, go watch this video of mine: ruclips.net/video/TOox3CGarf8/видео.html :D