Build An Online Chess Game

所在平台: Udemy

课程主页: https://www.udemy.com/course/build-an-online-chess-game/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:构建在线国际象棋游戏 课程概述:本课程将从零开始创建一个完整的在线国际象棋游戏。我们将设置一个MySQL数据库来存储用户信息(用户名、电子邮件、得分、已玩游戏等),同时还会使用Redis。课程中将搭建一个基本的Express服务器,并使用EJS作为视图引擎。我们将设置不同的路由来展示页面和处理API。课程还将包含大量的Socket事件,因此到课程结束时,您将熟练掌握SocketIO。在第一部分的资源文件夹中提供所有样式,因为本课程重点关注JavaScript技能,而并非CSS教程。 您将在本课程中学习到: - 如何使用Node.js创建服务器 - 如何从Node.js服务器连接到MySQL数据库 - 如何从Node.js服务器连接到Redis客户端 - 如何使用SocketIO进行客户端与服务器的通信 - 如何使用VanillaJs创建或更新DOM元素 - 如何使用JavaScript创建完整的国际象棋游戏 - 如何为游戏设置MySQL数据库 - 如何创建和使用MySQL存储过程 - 如何创建中间件来认证用户 - 如何存储Cookies - 如何使用JWT认证 - 如何对用户密码进行哈希处理 注意事项:由于某些npm包可能在您学习期间更新,建议您与我使用相同的版本。此外,您需要在本地安装MySQL和Redis。我使用的是MySQL 8和Redis 3.0.5(使用msi安装程序安装Redis),但您可以使用更新版本的Redis。

课程评论(0条)

课程详情

In this course we are going to create from scratch a complete online chess game. Also we are going to setup a MySQL database to store the users info (username, email, score, played games etc.) and we are going to use also Redis. We are going to set up a basic express server, and for our view engine we are gonna use ejs. For our server we are going to use different routes to displaying the pages and different routes for the api. We are going to use a lot of socket events so by the end of this course you'll have mastered SocketIO. I will provide all the styling in the resources folder in the first section because this isn't going to be a CSS tutorial, because I want this tutorial to help you focus on your javascript skills. What you will learn in this course:How to create a server with nodejsHow to connect to your MySQL database from your nodejs serverHow to connect to a Redis client from your nodejs serverHow to use SocketIO for client-server communicationHow to use VanillaJs to create or update DOM ElementsHow to create a complete chess game using javascriptHow to setup a MySQL database for your gameHow to create and use MySQL proceduresHow to create middlewares to authenticate usersHow to store cookiesHow to use jwt authenticationHow to hash user passwords*************************************************************************************************Since some of the npm packages may have updated when you take this course, it would be better if you used the same versions with me. Also you should have locally installed MySQL and Redis. I use MySQL 8 and Redis 3.0.5 (I used msi installer for redis), but you can use newer versions for redis.*************************************************************************************************

课程标签

0人关注该课程

主题相关的课程