Build an ENTIRE Blog from Scratch in JUST 120 MINUTES - Java Spring Boot BEGINNER Tutorial!

preview_player
Показать описание
Looking to create your own web application? Look no further! In this exciting tutorial, we'll take you step-by-step through the process of creating your very own Blog web application using Java Spring Boot for our server and Thymeleaf for the frontend.

Whether you're a seasoned developer or just getting started, this tutorial is perfect for anyone looking to learn more about web application development. You'll get a hands-on experience building your own app, as well as gaining valuable skills in Java Spring Boot and Thymeleaf.

🔗 Grab My Other Available Product(s):

👋🏻Connect with me:

===---=== Concepts ===---===
- Spring Data JPA
- Spring Security
- Thymeleaf
- Spring Web
- H2 Database

===---=== Chapters ===---===
00:00 - introduction
00:25 - simple blog demo
06:46 - opening project in IntelliJ
00:12:20 - first look at h2-console
00:13:16 - adding the Post model
00:15:58 - adding the PostRepository object
00:17:01 - adding a PostService object
00:20:31 - creating SeedData
00:24:17 - checking seed data in h2-console
00:24:54 - creating the HomeController
00:27:00 - creating the home template with Thymeleaf
00:33:20 - first run with home view
00:34:20 - creating the PostController
00:37:43 - creating the Post and 404 view templates
00:42:30 - adding an Account model
00:45:30 - setting up OneToMany in Account with Post
00:46:39 - setting up ManyToOne in Post with Account
00:48:02 - creating an AccountRepository
00:48:44 - creating an AccountService
00:49:46 - updating the SeedData
00:52:38 - checking relationships in h2-console
00:56:45 - adding a LoginController
00:57:17 - adding a RegisterController
00:57:40 - creating login and register templates
01:01:50 - adding register endpoint to controller
01:03:10 - creating login and register links
01:06:21 - checking registration in h2-console
01:07:01 - adding support for a new Post
01:07:28 - adding /posts/new GET in PostController
01:14:45 - adding /post/new POST in PostController
01:16:00 - first test of new post template
01:18:28 - adding Spring Boot Security
01:21:31 - adding a WebSecurityConfig
01:25:48 - first pass of whitelisted endpoints
01:26:57 - allowing /posts/* in whitelist
01:28:00 - allowing /h2-console/* in whitelist
01:30:42 - setting up login handling and validation
01:34:27 - setting up MyUserDetailsService object
01:39:37 - creating Authority model
01:40:43 - creating Account-Authority relationship
01:45:09 - updating SeedData with roles
01:46:26 - creating AuthorityRepository
01:47:42 - checking database for Authority
01:49:00 - debugging login and loadUserByUsername
01:54:46 - adding PasswordEncoder to WebSecurityConfig
01:57:24 - successful login
02:05:58 - adding delete to PostController
02:08:27 - adding modifiedAt to templates

#Java
#SpringBoot
#Tutorial

🔗Resources & Links mentioned in this video:

Рекомендации по теме
Комментарии
Автор

coming last todo project, this very very helpful to understand a working project with all the functionality, many thanks to you wazoo, as a junior developer I found very hard to understand existing code bases in client projects, thats where this kind of videos help, please continue making these videos levelling up the functionality and extending the projects to be a full stack projects. thank you very much again.

sapthasagar
Автор

Having been learning Spring Boot for a while, I was looking for a project I could work on just to practice what I've learned. This video has been very helpful.

mavhungulufuno
Автор

Thankyou for an amazing tutorial, it really covers many many concepts at once.

rutg
Автор

Thank you for this. I'm going to use it as a basis for my portfolio project.

ThatGuyMwangangi
Автор

Amigos gracious amazing. Keep spreading valuable knowledge our spring boot guru🙂

atharvsingh
Автор

.headers(HeadersConfigurer::disable), add this to security configuratios after http so xframe disabled and h2 loads

ramunasj
Автор

This is helping me so much in preparing for my upcoming hackathon. If all goes well, I will be landing my first dev job in a few weeks! Thank you for the tutorial!!

MrRANDUM
Автор

you are amazing, im waiting for next videos in curios.

eminaksoy
Автор

Thank you so much for this project. I have learnt many things from you. Keep going please

unalysuf
Автор

Thank you for perfect lesson of spring boot!

MrAxeres
Автор

From all youtube only you who have complete tutorial about spring boot with good understandeble english

oscaraliev
Автор

Please make more videos sir... Thank you so much very comprehensible.

juneldelacuadra
Автор

Great tutorial :) Would be awesome to see more projects at the intermediate level using Spring Boot, preferably with React!

jesper
Автор

Very helpful tutorial with great explanations, thank you!

dragoflamer
Автор

Small but important fact.
In newer version of Spring Security you have to add @Configuration annotation in addition to @EnableWebMvc

nikita-shamrai
Автор

this is an amazing tutorial. thank you so much

wandayusuf
Автор

Hey !! After running server 12:34 it url and username on db console is still default even though i have changed the username to admin in application property file.What i need to check for this as i am facing similar issues from many days

sailisurve
Автор

Hi! This is so helpful video, I am learning Spring and what I didn`t understand, I understand in this video. Thank You! I have a question for you: I write code like you, but when I want to edit, I get 403 error. Why it could be happen?

oulvibakirli
Автор

I see you updated image feature in github project. Can i ask where that video is (sorry for my bad english)

hc
Автор

Hi Mr Wazoo, first of thank you very much for this wonderful project. my version finally compiled and works. I will like to ask if there a module to add media to posts, such as pictures, audio and videos. I am working on some styling features too.

Nimitz_oceo
visit shbcf.ru