Java Full Stack Spring Boot and Angular (Inc. JWT + Cloud)

th_iuRjPHu6oQn5YMKqOMMy3GnaxFOMrcfn

在本课程中,我们将创建一个新项目,如在线图书购物。

当我说在线图书购物应用程序时,我们可以将其想象为我们将拥有一个图书列表页面。不知何故,用户或客户会看到这些书单,他们可以购买其中一本。当然,在它结束时,此购买将被存储并稍后显示。

我们将使用 Spring Boot、Angular 和 PostgreSQL 来实现这个项目。

在我们的项目中,我们将实现 CRUD 操作。这些 CRUD 操作将用于用户和书籍。我们将使用用户进行用户登录、注册和授权操作。我们将使用书籍进行创建、编辑、删除书籍的操作。

这些 CRUD 操作将从 Angular 请求。因此,在后端,我们将为这些 CRUD 操作创建基础设施,而在前端,我们将通过用户界面为它们提供服务。

我们的项目继续进行 User 和 Book 操作。

我们的主要操作将是用户登录、注册、图书列表、创建图书、删除图书等。

此外,我们将继续使用基于角色的应用程序。因此,我们将使用不同的角色,例如“管理员”、“用户”。然后我们会根据角色为这些用户提供不同的授权。

这一切都将在 Angular 和 Spring Boot 中以安全的方式提供。

我们将有两个主要组件来实施我们的项目。

这些是服务器端和客户端。

在服务器端:

当然在这里,我们的主要库将是 Spring-boot。我们将使用 Spring Boot 在后端实现整个基础设施。它将为我们提供简单快速的配置。

我们将在我们的项目中实现模型视图控制器架构。

Spring-security 将是我们应用程序中的主要主题之一。此外,我们将使用 JWT 来提供安全性。

在 Spring Boot 中,数据将作为 API 调用呈现给客户端,因此将使用 Spring Rest Controller 来处理它。

我们将使用 PostgreSQL 作为数据库。我们也可以使用其他数据库,但最后我们会将代码部署到 Heroku。Postgresql 可以在 Heroku 上免费使用,所以我们选择了它。

我们还将使用 Java Persistence API 和 Hibernate 的对象关系映射。

您知道,我们可以使用休眠将我们的数据库表映射到对象。

我们将在 Spring Boot 中使用 JPA Repository 和 Crud Repository。

因此,这些存储库模板将处理常见的数据库操作,如保存、更新、查找、删除。

使用 Spring Boot,我们还将使用 Lombok 库来清除代码。

你知道我们不想实现 getter、setter、equals 和 hash 代码。所以我们可以使用 Lombok @Data 或 @Value 注释来转义它。

我们将使用 Gradle 来处理服务器端的所有依赖项。

对于我们所有的服务,我们将使用 Heroku 创建云部署。Heroku 是一个了不起的免费框架。我们可以通过 github 轻松部署我们的 spring-boot 项目。所以在课程结束时,我们将有一个生产应用程序,我们将在 github 上有一个每个人都可以访问的代码。

这就是服务器端的全部内容。

让我们谈谈客户端。

我们将在客户端创建一个 angular 应用程序,它将提供一个很酷的用户界面。所以我们将创建一些页面,如主页、管理仪表板、登录页面和注册页面。然后我们将服务器 apis 分配给这些页面,我们将轻松且用户友好地使用和生成来自用户界面的数据。

在 angular 上,我们还将实现模型视图控制器架构。我们将使用打字稿等很酷的功能。

最后,我们将构建它,并将其提供给 heroku。所以在课程结束时,我们将有一个关于生产的实时应用程序。

最后但并非最不重要的一点是,我们还将在 angular 上实现安全和授权。我们将使用不同的角色,根据这些角色,我们还将在用户界面上实现未授权和未找到的页面。

Spring security, Heroku Cloud Deployment via Github, PostgreSQL, Hibernate, Lombok, Angular12, Full Stack Development

MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + srt | Duration: 100 lectures (9h 26m) | Size: 4.17 GB


What you’ll learn:
Spring Boot
Angular
Full Stack Development with Spring Boot and Angular
Cloud Deployment for Java and NodeJS
Heroku Cloud Deployment
Learn the basics of Angular – Angular Modules, Components, Data Binding and Routing
Role Base Authorization and Authentication
Use Spring Security to configure Basic Authentication and JWT
Learn the magic of Spring Boot – Auto Configuration, Spring Initializr and Starter Projects
RXJS Observables and Observers

Requirements
Basic Java knowledge

Description
In this course, we will create a new project like online-book-shopping.

When I say online-book-shopping application, we can think of it like that we will have a book-list page. Somehow users or customers will see these book-lists and they can buy one of them. Of course, at the end of it, this purchase will be stored and displayed later.

And we will implement this project using Spring Boot, Angular, and PostgreSQL.

In our project, we will implement CRUD operations. These CRUD operations will be for users and books. We will use users for user sign-in, sign-up and authorization operations. And we will use the books for creating, editing, deleting book operations.

These CRUD operations will be requested from Angular. So on the backend, we will create an infrastructure for these CRUD operations and on the frontend, we will serve them with the user interface.

Our project goes on with User and book operations.

Our main operations will be user login, register, book-list, create-book, delete-book etc.

Also, we will go on with the role based application. So we will use different roles like “Admin”, “User”. Then we will provide different authorizations to these users according to the role.

And this all things will be provided with a secure way in both Angular and Spring Boot.

We will have two main components to implement our project.

These are server side and client side.

In Server Side:

Of course here, our main library will be Spring-boot. We will implement the whole infrastructure on the backend with the Spring boot. It will provide easy and fast configuration to us.

We will implement the Model view controller architecture on our project.

Spring-security will be one of the main topics in our application. Also, we will use JWT to provide security.

In Spring Boot, Data will be presented to the client as an API call so Spring Rest Controller will be used to handle it.

We will use PostgreSQL as Database. We can use other databases also but at the end of it we will deploy our codes to Heroku. Postgresql can be used on Heroku for free so we chose that.

We will also use Object Relational Mapping with Java Persistence API and Hibernate.

You know, We can map our database tables to objects with hibernate.

We will use JPA Repository and Crud Repository in Spring Boot.

So these repository templates will handle common database operations like save, update, find, delete.

With Spring Boot, we will also use Lombok library to clear code.

You know that we don’t want to implement getter, setter, equals and hash code. So we can escape it using Lombok @Data or @Value annotation.

We will use Gradle To handle all dependencies on server side.

For our all services, we will create cloud deployment with Heroku. Heroku is an amazing free framework. We can deploy our spring-boot projects with some configuration over github easily. So At the end of the course, we will have an application on production and we will have a code on github that is accessible by everyone.

That’s all about Server side.

Let’s talk about Client Side.

We will create an angular application on the client side and it will provide a cool user-interface. So we will create some pages like home-page, admin dashboard, login page and register-page. Then we will assign the server apis to these pages and we will consume and produce the data from the user-interface easily and user friendly.

On angular, we will also implement the model view controller architecture. We will use the cool features of typescript etc.

At the end of it, we will build it and we will serve it to heroku also. So at the end of the course, we will have a live application on production.

Last but not least, we will implement security and authorization on angular also. We will work with different roles and according to these roles, we will implement unauthorized and not-found pages on the user interface also.

We will see the details of them one by one.

Who this course is for
All developers curious about Java and NodeJS

14etE4uJ16WJSemhvGRzdiVGSx7QE5Vt

资源下载此资源仅限VIP下载,请先
本站资源仅限VIP会员下载点击购买VIP会员

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/16586.html

赞 (0)
steven的头像steven
上一篇 2021年8月16日
下一篇 2021年8月16日

相关推荐

发表回复

登录后才能评论
分享本页
返回顶部