|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/java-full-stack-spring-boot-and-angular-inc-jwt-cloud/
课程评论:没有评论
课程名称:Java全栈开发:Spring Boot与Angular(包括JWT和云部署) 课程概述: 本课程将指导学员创建一个在线书店项目,包含书籍列表页面,用户可以在这里浏览书籍并完成购买,所有购买记录也会被保存并可供后续查看。项目将使用Spring Boot、Angular和PostgreSQL来实现,涵盖CRUD(创建、读取、更新、删除)操作,包括用户和书籍管理。 在后端,我们将以Spring Boot为核心框架,构建整个基础设施,使用MVC架构,结合Spring Security和JWT确保安全性。数据将通过Spring Rest Controller以API形式提供给客户端,使用PostgreSQL作为数据库,最终将代码部署到Heroku,确保可用性。 在前端,我们将创建一个用户友好的Angular应用程序,包括首页、管理面板、登录页和注册页,结合服务器API进行数据的消费和展示。整个项目同样采用MVC架构,并利用TypeScript的优势。我们将为不同角色(如“管理员”,“用户”)实现授权功能,并设计相关的未授权和404页面。 通过此课程,学员将最终在Heroku上拥有一个实际运营的在线书店应用,并能够通过GitHub共享代码。
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.