|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/go-java-full-stack-with-spring-boot-and-vue-js-inc-vuex/
课程评论:没有评论
课程名称:使用Spring Boot和Vue JS(包含Vuex)进行Java全栈开发 课程概述: 在本课程中,我们将创建一个类似于在线技术购物的网站项目。该应用程序将包含设备列表页面,用户可以浏览和购买设备,购买记录将在后续展示。项目将采用Spring Boot、VueJS和PostgreSQL技术进行实现。 我们将实现CRUD(增、删、改、查)操作,这些操作将涉及用户和设备。用户将用于注册、登录和授权,而设备则用于创建、编辑和删除。VueJS将请求这些CRUD操作,后端我们会构建基础设施来支持这些请求,前端则以用户界面的形式展现。 主要功能包括用户登录、注册、设备列表、设备创建与删除等。我们还将实施基于角色的应用,定义不同权限的用户角色,如“管理员”和“用户”。所有的操作将以安全的方式在设备和Spring Boot中实现。 项目分为服务器端和客户端两部分: **服务器端:** - 主库:Spring Boot,提供快速配置和基础架构支持。 - 实现模型-视图-控制器(MVC)架构,使用Spring Security和JWT确保应用安全。 - 数据通过Spring Rest Controller以API调用的形式提供给客户端。 - 数据库使用PostgreSQL,支持Heroku的免费部署。 - 使用Hibernate进行对象关系映射(ORM),通过JPA和Crud Repository处理常见数据库操作。 - 利用Lombok库简化代码,避免手动编写getter、setter等。 - 采用Maven管理服务器端依赖,并在Heroku上进行云部署。 **客户端:** - 使用VueJS创建前端应用,提供用户友好的界面,包括主页、管理员仪表盘、登录和注册页面。 - 将服务器API分配给这些页面,从用户界面方便地消费和展示数据。 - 对VueJS进行安全和授权实施,处理不同用户角色的访问,并创建相应的未授权和404页面。 课程结束时,参与者将能够部署一个正式的应用,并将代码发布到GitHub上,供他人访问。 谢谢!
In this course, we will create a new project like online-technology-shopping.When I say online-technology-shopping application, we can think of it like that we will have a device-list page. Somehow users or customers will see these device-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, VueJS, and PostgreSQL.In our project, we will implement CRUD operations. These CRUD operations will be for users and devices. We will use users for user sign-in, sign-up and authorization operations. And we will use the devices for creating, editing, deleting device operations.These CRUD operations will be requested from VueJS. 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 device operations.Our main operations will be user login, register, book-list, create-device, delete-device 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 Device 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 the Lombok library to clear code.You know that we don't want to implement getter, setter, equals and hashcode. So we can escape it using Lombok @Data or @Value annotation.We will use Maven To handle all dependencies on the server side. Actually, here we can also use Gradle. Gradle provides better performance than maven but Maven is the most common one. So we'll go on with maven.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 a vueJS 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.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 VueJS 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.For now, that's all.Thank you.