The Dev World - by Sergio Lema
The Dev World - by Sergio Lema
  • 138
  • 761 863
Solve the Reverse Integer Algorithm Using Java
In this video, I'm gonna solve the problem of the Reverse Integer Algorithm using Java. I'm gonna explain what's the problem and how to solve it to be performant. I will focus on the edge cases which are the main part of the problem.
My NEW eBook: sergiolema.dev/git-book/
Blog: bit.ly/47ornJL
LinkedIn: bit.ly/41Nn61q
Facebook: bit.ly/47rc9nh
My Desktop:
• Laptop: Macbook Pro 16" 2019
• Gaming Chair: amzn.to/47Vu6ed
• Mouse: amzn.to/3HoBwM1
• Desk: amzn.to/48Tc5Oi
• Screen: amzn.to/48VZkCL
Переглядів: 245

Відео

Solve The Two Sum Algorithm Problem Using Java
Переглядів 152Місяць тому
In this video, I'm gonna solve the problem of the Two Sum Algorithm using Java. I'm gonna explain what's the problem and how to solve it to be performant. I will explain each component used and each decision made. My NEW eBook: sergiolema.dev/git-book/ Blog: bit.ly/47ornJL LinkedIn: bit.ly/41Nn61q Facebook: bit.ly/47rc9nh My Desktop: • Laptop: Macbook Pro 16" 2019 • Gaming Chair: amzn.to/47Vu6e...
Deploy a Spring Boot Application to AWS Lambda with an API Gateway
Переглядів 1,4 тис.Місяць тому
In this video, I explain how to deploy a Spring Boot application to AWS Lambda. With Spring Boot, I can create several endpoints, so I need an API Gateway to create a proxy from a single URL to many endpoints inside my AWS Lambda. This video belongs to a playlist where I show how to deploy Spring Boot applications to several AWS services: studio.ua-cam.com/users/playlistPLab_if3UBk99TlX80Xv0GTI...
Build a Complete CRUD Application with Spring Boot and React
Переглядів 2,6 тис.3 місяці тому
In this video, I build a complete CRUD application with Spring Boot and React. I create a backend using a Database connection, REST endpoints and a stateless application. In the frontend, I don't add any additional library. I create different components to handled each action of the CRUD operations, Create, Read, Update and Delete. I explain in details how to correctly name the REST endpoints, ...
Deploy Your React Application to AWS S3
Переглядів 5213 місяці тому
In this video I show how to deploy a Frontend application like React to AWS S3. I show how to create an AWS S3 Bucket which accepts a static website. Then I show which commands are necessary to build the frontend project. And finally, I upload the content to an AWS S3 Bucket. All the commands used in the video can be used in a CI/CD platform like Jenkins or GitlabCI. This video belongs to a pla...
Use Jwt and the Roles to Secure Your Fullstack ReactJS and Spring Boot / Spring Security
Переглядів 6 тис.4 місяці тому
In this video, I show how to configure a Spring Boot / Spring Security backend with JWT and the roles. I also show how to store the roles information in the JWT to allow the ReactJS frontend to render a different page depending on the roles. I explain how to use the PreAuthorize annotation in the controllers with the available SPeL expressions. This video belongs to a playlist where I develop f...
Solve the CORS error with Spring Security and a React frontend.
Переглядів 2,4 тис.5 місяців тому
Solve the CORS error with Spring Security and a React frontend.
Build Your Webpage With Spring Boot and Thymeleaf in Less Than 20 Minutes
Переглядів 6 тис.5 місяців тому
Build Your Webpage With Spring Boot and Thymeleaf in Less Than 20 Minutes
OAuth2 and Google to Protect Your Spring Security and Angular Application
Переглядів 9 тис.6 місяців тому
OAuth2 and Google to Protect Your Spring Security and Angular Application
Configure the CSRF Protection With Spring Security 6 and Angular
Переглядів 6 тис.8 місяців тому
Configure the CSRF Protection With Spring Security 6 and Angular
How to Build a RESTful CRUD App With Spring Boot and Angular
Переглядів 8 тис.9 місяців тому
How to Build a RESTful CRUD App With Spring Boot and Angular
Java 21 Is Here! Let’s See the Most Expected Features
Переглядів 1,4 тис.9 місяців тому
Java 21 Is Here! Let’s See the Most Expected Features
Solution of the Cors Error From a Spring Boot and Angular Application
Переглядів 15 тис.10 місяців тому
Solution of the Cors Error From a Spring Boot and Angular Application
How I've learned Angular in 6 Hours
Переглядів 1,4 тис.11 місяців тому
How I've learned Angular in 6 Hours
Secure Your Fullstack Angular - Spring Boot Application With the JWT Authentication
Переглядів 40 тис.Рік тому
Secure Your Fullstack Angular - Spring Boot Application With the JWT Authentication
Java Across The Time
Переглядів 617Рік тому
Java Across The Time
Check Those 2 Methods to Quickly Deploy Your Python API to AWS Lambda
Переглядів 1,2 тис.Рік тому
Check Those 2 Methods to Quickly Deploy Your Python API to AWS Lambda
How to Easily Secure Your Fullstack ReactJS - Spring Boot Application With the JWT Authentication
Переглядів 60 тис.Рік тому
How to Easily Secure Your Fullstack ReactJS - Spring Boot Application With the JWT Authentication
8 Powerful Features You Didn’t Know About the Fixtures of Pytest
Переглядів 1,4 тис.Рік тому
8 Powerful Features You Didn’t Know About the Fixtures of Pytest
How to SECURE My Microservices Architecture (REACTJS + SPRING CLOUD GATEWAY) With Keycloak
Переглядів 19 тис.Рік тому
How to SECURE My Microservices Architecture (REACTJS SPRING CLOUD GATEWAY) With Keycloak
Better Than ChatGPT, the AI Which Helps Me to Develop | Github Copilot
Переглядів 1,2 тис.Рік тому
Better Than ChatGPT, the AI Which Helps Me to Develop | Github Copilot
SPRING SECURITY 6 with JWT Authentication: Secure Your App in MINUTES!
Переглядів 15 тис.Рік тому
SPRING SECURITY 6 with JWT Authentication: Secure Your App in MINUTES!
4 Easy Steps to Deploy Your Microservices Architecture With AWS ECS
Переглядів 24 тис.Рік тому
4 Easy Steps to Deploy Your Microservices Architecture With AWS ECS
How to Easily Deploy a Spring Boot Application to AWS EC2
Переглядів 49 тис.Рік тому
How to Easily Deploy a Spring Boot Application to AWS EC2
How to Handle the Database Migrations with Alembic | Flask and Python Backend 10
Переглядів 24 тис.Рік тому
How to Handle the Database Migrations with Alembic | Flask and Python Backend 10
Spring Cloud Gateway with KeyCloak and OAuth2 | Authorization Server with Spring Security 3
Переглядів 24 тис.Рік тому
Spring Cloud Gateway with KeyCloak and OAuth2 | Authorization Server with Spring Security 3
Create your First CICD Pipeline with GitlabCI in less than 10 minutes | Spring Boot Backend 11.2
Переглядів 13 тис.Рік тому
Create your First CICD Pipeline with GitlabCI in less than 10 minutes | Spring Boot Backend 11.2
Which is the Best Programming Language #shorts
Переглядів 809Рік тому
Which is the Best Programming Language #shorts
Create Your First Github Actions | Spring Boot Backend #11
Переглядів 7 тис.Рік тому
Create Your First Github Actions | Spring Boot Backend #11
Spring Cloud Gateway with OAuth2 Authorization Server | Authorization Server with Spring Security 2
Переглядів 16 тис.Рік тому
Spring Cloud Gateway with OAuth2 Authorization Server | Authorization Server with Spring Security 2

КОМЕНТАРІ

  • @chawebinourelhouda807
    @chawebinourelhouda807 2 години тому

    great tutorial ! but what if i want to add the option : login with registered infos how i can i integrate it

  • @weixiangng8279
    @weixiangng8279 7 годин тому

    is aws ec2 from aws free tier?

  • @wanggewg
    @wanggewg День тому

    I have watched your videoson springboot oauth2 series, they are very good! I take this chance to bring a request on springboot keycloak oauth2 authentication. Could you please make video to demo BFF pattern ( Backend for FrontEnd). BFF is thought more secure than PKCE flow?

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema День тому

      Thanks for your comment. I add your suggestion to my todo list. I'll try to find a spot to do it

  • @sadiulhakim7814
    @sadiulhakim7814 День тому

    Hi jawman, I am preferring thymeleaf for my personal project over fromtend frameworks, because those frameworks are extra pain.

  • @wanggewg
    @wanggewg 5 днів тому

    Could you please make video to demo BFF pattern ( Backend for FrontEnd). BFF is thought more secure than PKCE flow. Reply

  • @wanggewg
    @wanggewg 5 днів тому

    Could you please make video to demo BFF pattern ( Backend for FrontEnd). BFF is thought more secure than PKCE flow.

  • @bioniccommando2009
    @bioniccommando2009 6 днів тому

    Thank you very much. I did a lot of config but they didn't work. This worked but I had to add this corsConfiguration.setAllowedHeaders(List.of("*")); (I am working with JWT token)

  • @caffeinejavacode1475
    @caffeinejavacode1475 6 днів тому

    how to deploy service A and service B and make REST communication between them

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 6 днів тому

      You have to configure the Security groups: which one has access to internet; which one can request the other.

  • @Tmumbach
    @Tmumbach 7 днів тому

    Hello, great video! Using gateway as oauth client, how to authenticate and consume the api using Postman or insomnia? Thanks!

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 6 днів тому

      Thanks. It's not easy. What I do is: * log in the application using the Website * go the localstorage * copy the token * use it in Postman

  • @MG-wx8yx
    @MG-wx8yx 7 днів тому

    How much do you sleep per 24h? Your eyes are so white, mine are so red! Also, can you do the same tutorial but with Graphql instead of REST? Thanks for the very informative tutorial.

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 6 днів тому

      😅 At least 6 hours. Graphql is a topic I have in my todo list, but I never found the time to investigate it

  • @hemanthpusarla4428
    @hemanthpusarla4428 8 днів тому

    can we deploy it with free tier?

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 8 днів тому

      Yes, I think it's included into the free tier. Still, it's 0.02$ per Gb, I don't think a React application will cost this.

  • @40ozhemlock
    @40ozhemlock 8 днів тому

    Sorry I'm dumb. When you say "and go to a terminal" (to connect to the instance). Do you mean just the command line on my local machine? Or are you talking about something in AWS? Doesn't AWS provide like 3 different ways within the console to connect to the instance? What do you mean when you say "and go to a terminal"?

    • @40ozhemlock
      @40ozhemlock 8 днів тому

      tried it from the command line.... permission denied....

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 8 днів тому

      Go to your local machine terminal. But you need to configure it before. Check here how to do it: docs.aws.amazon.com/cli/v1/userguide/cli-chap-configure.html

    • @40ozhemlock
      @40ozhemlock 2 дні тому

      @@TheDevWorldbySergioLema So I have made a lot of progress. Got a JAR file of my app onto the Linux Ec2. But when I run it, it doesn't pick up the properties from my properties file so I can't make the MYSQL DB connection. It keeps acting like it's trying to connect with root@... , But I have a ${DBUSERNAME} variable (and PW and URL) in my props file and I CANNOT get the app to pick those values up and connect with that. ANY ideas bro?

  • @snakefoxxofekans
    @snakefoxxofekans 9 днів тому

    Thanks alot !

  • @Sebastian-zs8cp
    @Sebastian-zs8cp 10 днів тому

    How did you learn it, it's a black box, everyone uses it but no one knows about it. I'm a self learner and I don't have a company behind me, I'm unemployed, and I want to bring a product to the market, but I have to get my users securely registered or the procedure, and I'm scared because that can fall on my feet. My stack: -Angular, -Spring boot, wants the Angula app to authenticate then the user registers or logs in

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 9 днів тому

      It takes a lot of years to learn. Keep working on it! I'm also a self learner

  • @programmierenabisz4664
    @programmierenabisz4664 10 днів тому

    Thank you so much, man, i am currently looking your second video and again it made so much clear for me. AWS was a misterum for me. So many features and things you can do there but you bring it to the point. Exactly the information you need for starting with AWS. Of course this YT channel is in my abos since now!

  • @programmierenabisz4664
    @programmierenabisz4664 10 днів тому

    Thank you so much! This made so many things clear to me. I worked with several old ways to manage my projects. From hosting my own servers (about 20 years ago) to some docker managed instances and so on. AWS was a misterium for me. So many things you can do there but you brought it to the point for me. EC2 is only a virtual machine :) And the networking is also only networking VPC (virtual private cnetwork ;))

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 10 днів тому

      I'm so glad you understand it better now!

    • @programmierenabisz4664
      @programmierenabisz4664 10 днів тому

      ​@@TheDevWorldbySergioLema I am looking the next video (4 Easy Steps to Deploy ...) and I left a similar comment there. Really, it's a kind of AHAAA moment for me. thank´s again!

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 10 днів тому

      Thanks again!

  • @PorkyPrank
    @PorkyPrank 11 днів тому

    If I deploy telegram bot using spring boot, the process is the same?

  • @fabricemissidi3301
    @fabricemissidi3301 11 днів тому

    excellent content!! I'm ont from a anglophone country but i understand without problemes

  • @davidev5238
    @davidev5238 12 днів тому

    Hi Sergio, thank you very much. I have a question please: what role does the userDto play in the autherization process since you registered no user ? In fact in my case I want to authenticate with Google my previously registered users Who have name, email, sellerType, address properties in a springboot registration standalone microservice. How can I handle this ? Thank you very much in advance.

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 8 днів тому

      This DTO is the user's information that come from Google. You can read some information like the name, email or phone number if the user accepts to share it.

    • @davidev5238
      @davidev5238 6 днів тому

      @@TheDevWorldbySergioLema ok, so it means that the authentication process with Google has nothing to do with the way my users are registered in my backend registration service. If so, then how does Google Knows that the user with given email is authorized to access my app ?

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 6 днів тому

      The way I show in this video, I allow all the users of the world with a Google account to log in the application. If you want to restrict the access, there are several ways: * in the Google client application, configure the emails/users which have access * in your application, have a table which lists all the users which have access to your application. Add another filter in Spring Security which checks if the user authenticated with Google is also present in your table.

    • @davidev5238
      @davidev5238 5 днів тому

      Ok, il makes sens to me now. Thank you !

  • @mertduyar6848
    @mertduyar6848 12 днів тому

    shitty explanations

  • @jitvimol
    @jitvimol 13 днів тому

    This is very good to understand Alembic. Btw note to all, video is for understanding how it works, in real world we shouldn't manually edit content in version files (it should be auto generated it for you.) What you want to edit is model files that has table schema detail.

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 10 днів тому

      You're right. The content files shouldn't be edited. It will cause Alembic checksum errors

  • @vladneaga5427
    @vladneaga5427 15 днів тому

    saved my day, thank you!!!

  • @rkjessop
    @rkjessop 15 днів тому

    Thanks!

  • @rkjessop
    @rkjessop 16 днів тому

    This video is comprehensive and well presented. However, there are some serious problems with this instruction if you're following the video and making sure you completely understand each step. If you're simply downloading the repo and going with that, it may work fine. The repo needs to have snapshots of the code as tested; e.g., at 35:13. I find all of the praises a bit biased.

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 8 днів тому

      Thank you. What I'm trying is to explain the concepts and give a repository with the same code. I can't give you a repository prepared for everything with all the data (everyone will need a different use case)

  • @gameshow4030
    @gameshow4030 17 днів тому

    If i will put all these codes into wordpress will it still work? I struggle to find a tutorial that could explain whole coding system behind it and i just want to secure my website

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 10 днів тому

      Using this workflow to protect your website is good. But there are other complements (like authentication, or even HTTPS). I'm not sure to understand what you want to do with Wordpress.

  • @dew_reddit
    @dew_reddit 20 днів тому

    I don’t understand why the csrf was disabled in the SecurityConfig? Our security team has pointed out that it should not be disabled in Security Config

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 20 днів тому

      It's another layer of complexity. It shouldn't be, but to speed up the development time, people disable it.

  • @andriikorniienko
    @andriikorniienko 20 днів тому

    that's brilliant, please keep it up sir! I'm just wondering how one's supposed to learn all of that without guys like you?? It appears to me that there are not that many resources that go in-depth on spring security

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 20 днів тому

      Thank you so much for those kind words! In my case, I've learned from guys "like me" but while working. I had the chance to work with great people, great managers and great teachers. Now It's my turn to teach

  • @proffanproffan6491
    @proffanproffan6491 21 день тому

    II had a problem with "CORS" with WebConfig.a java file. The solution was to change the FilterRegistrationBean CorsFilter() method to @Bean public CorsFilter CorsFilter(){

  • @thekaunter6937
    @thekaunter6937 23 дні тому

    Can you make a video with OAuth2 and Session token pls?

    • @TheDevWorldbySergioLema
      @TheDevWorldbySergioLema 22 дні тому

      Does this video answer your questions: ua-cam.com/video/yp28g5AJczM/v-deo.html

  • @ultimatestrix4526
    @ultimatestrix4526 25 днів тому

    angular httpclientmodule deprecated 😭😭😢😢😢😢

  • @dimoyanev963
    @dimoyanev963 26 днів тому

    Excellent simple and very useful, thank you Sergio

  • @user-zi4jy7gp4q
    @user-zi4jy7gp4q 27 днів тому

    Does this also work when using Facebook for registration instead of Google?

  • @aziztolearn
    @aziztolearn 28 днів тому

    👍👍👍