Astro As Fast As Possible!
2:03
14 күн бұрын
Google Guice Under 5 Minutes!
4:22
Spring Boot In 5 Minutes!
5:14
2 ай бұрын
Micronaut - As Fast As Possible
2:13
Quarkus As Fast As Possible
3:36
4 ай бұрын
Well, I'm Back!
2:43
5 ай бұрын
00 - Introduction to Java
3:53
Жыл бұрын
Do You Know REGEX?
3:11
Жыл бұрын
Write Better Conditions in Java!
3:20
Kubernetes - What Even is That?
3:21
Пікірлер
@xskii
@xskii 2 күн бұрын
id rather see more creativity than a stolen video format from fireship
@SoitioDev
@SoitioDev Күн бұрын
Tell me, how is it stolen? What exactly did I steal? 🤔 My videos may look similar to Fireship videos as well as other Tech KZbin 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 Күн бұрын
@@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 Күн бұрын
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 KZbin 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 Күн бұрын
@@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 Күн бұрын
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 11 күн бұрын
Looking for this, and I am here for the first comment, thanks so much Soitio channel
@SoitioDev
@SoitioDev 11 күн бұрын
I am glad to hear that! 😄 Thanks for commenting, I thought that maybe it will be interesting to watch
@grn-xx
@grn-xx 18 күн бұрын
I love java :D
@SoitioDev
@SoitioDev 18 күн бұрын
Me too ;D I tried a lot of different languages and Java is by far my favorite 🔥
@davidwaziri333
@davidwaziri333 12 күн бұрын
​SoitioDev same with me, Java is my best
@SoitioDev
@SoitioDev Ай бұрын
This first graph was playing with me... Anyway It went well, what do You think?
@codingsavid6509
@codingsavid6509 Ай бұрын
sosapa haz eso bn careverga, dile a russa que me quiera
@SoitioDev
@SoitioDev Ай бұрын
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 Ай бұрын
What is Your favorite feature? For me String Templates I think 🔥
@wa57s577
@wa57s577 2 ай бұрын
I don't see what do you mean with using DTOs for that?
@SoitioDev
@SoitioDev 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
Hey, thanks for asking! Which approach are you using? Global one or per endpoint?
@ulugbektoshmatov3433
@ulugbektoshmatov3433 5 ай бұрын
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 3 ай бұрын
Thanks for suggestion! Maybe in the future I will make updated in depth look :)
@justbelieveinmyself
@justbelieveinmyself 7 ай бұрын
Огромное спасибо за материал❤
@tomacostel8144
@tomacostel8144 9 ай бұрын
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 3 ай бұрын
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: kzbin.info/www/bejne/p6Kon4Ztl5Wrb9k 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: kzbin.info/www/bejne/o5nRnGuqeNF-hKc 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
@SoitioDev
@SoitioDev Жыл бұрын
Thank You Rajan! :D
@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!
@SoitioDev
@SoitioDev Жыл бұрын
Thank you! :D
@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 KZbin 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 kzbin.info/www/bejne/qn_QfqKvd65gnZo. 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: kzbin.info/www/bejne/ioDSqWZ5fMalnJo :D
@ahmedbilal7808
@ahmedbilal7808 Жыл бұрын
Hi Dromin can you please course which covers these steps deeply and deploy using Jenkins on the docker localhost Thanks.
@SoitioDev
@SoitioDev Жыл бұрын
Sure I will, in near future. Actually I was already thinking of it because it caused me a lot of trouble and I thought that maybe my painful experience might be helpful for someone. Correct me if I'm wrong, you want to see the full proces? (get code from SCM -> build images -> deploy to kubernetes on some server)
@ahmedbilal7808
@ahmedbilal7808 Жыл бұрын
@@SoitioDev yes
@SoitioDev
@SoitioDev Жыл бұрын
Right, so make sure to stick around! :D
@alekspetrov8466
@alekspetrov8466 Жыл бұрын
You should try to explain more and not code only. Try to improve on that because not everyone can keep up with the way you are explaining.
@SoitioDev
@SoitioDev Жыл бұрын
Thanks for your feedback! I guess I was rushing a little... I will keep it in mind creating next tutorial video
@zabialy2919
@zabialy2919 Жыл бұрын
Nice video, earned a sub :D
@SoitioDev
@SoitioDev Жыл бұрын
Thanks, nice to hear that and Welcome! :D In case of any questions or suggestions feel free to ask, I'm happy to help :D
@zabialy2919
@zabialy2919 Жыл бұрын
@@SoitioDev Is there a way to get in touch with you via Discord or something?
@SoitioDev
@SoitioDev Жыл бұрын
Yes, I have just created a Discord server, you can find me there: discord.gg/PnsCpKnwEf (It is still WiP, so don't be afraid)