Spring Boot and Angular Tutorial - Build a Reddit Clone (Coding Project)
Why Stack Overflow recommends it
Stack Overflow users link it when they are following the project and hit specific errors, and when newcomers ask for a practical way to learn Spring Boot.
Recommended by 2 people across 2 different months, 2020 to 2021.
What it is
A 3 hour 13 minute freeCodeCamp course by Sai Upadhyayula that builds a Reddit clone with a Spring Boot back end (Spring Security, Spring Data JPA, MySQL, JWT auth, Mapstruct, Swagger) and an Angular 9 front end. It is a follow-along coding project with linked source repositories for both sides.
What people said
Recommends MotorBlade · 2020-07 · Stack Overflow · on “Spring Boot - Jwts.builder Cannot resolve method 'signWith()’”
I’ve been following this spring boot + angular tutorial on YouTube [this video] that uses spring security and JSON web tokens (JWT) for authenticating a user. However I’ve came to a point in the video where I have an error in my jwtUtil2 class. For some reason whenever I try to run my spring application I get this error: Error:(41, 17) java: no suitable method found for signWith(java.security.PrivateKey) method io.jsonwebtoken.JwtBuilder.signWith(io.jsonwebtoken.SignatureAlgorithm,byte[]) is not applicable (actual and formal argument lists differ in length) method io.jsonwebtoken.JwtBuilder.signWith(io.jsonwebtoken.SignatureAlgorithm,java.lang.String) is not applicable (actual and formal argument
Recommends Renis1235 · 2020-12 · Stack Overflow · on “How to get started with Spring Boot?”
I found learning Spring boot a bit hard, I watched a lot of tutorials and they all use different methods and ways to implement the same thing. The best way to learn is to do a test project I would say. Where you can use Spring Boot, Spring Data Jpa, Security and so on. First of all google about these three that I wrote and understand what they are. Search for Hibernate too. Two tutorials that helped me a lot were: [this video] And this channel : [LINK] Good luck!
Cites Teddy Smith · 2020-06 · Stack Overflow · on “Constructor required a bean type that could not be found”
I'm currently following a course on Spring Boot and making a Reddit clone. [this video] During the course, we have a service that uses Mapstruc to map a DTO. My issue is that when I try to inject the mapper into the service, Spring cannot find the class and gives error: Parameter 1 of constructor in com.subreddit.service.SubredditService required a bean of type 'com.subreddit.mapper.SubredditMapper' that could not be found. Consider defining a bean of type 'com.subreddit.mapper.SubredditMapper' in your configuration. Here is the service: package com.subreddit.service; import static java.util.stream.Collectors.toList; import java.util.List; import org.springframework.beans.factory.annotation.Autow
Cites Haru · 2021-06 · Stack Overflow · on “403 Forbidden page Spring Security”
Sure, here is the link and the github repository for the backend. [this video] . [LINK] . Thanks for the link. @SteveRiesenberg