Rating 4.5 out of 5 (2 ratings in Udemy)
What you'll learn- How to use NodeJs to create a backend
- How to use SocketIO
- How to use MySQL with NodeJs
- How to use Redis with NodeJs
- How to create an online game using NodeJs and SocketIO
- How to use a view engine with NodeJs
- How to use VanillaJs to update or create DOM Elements
- How to make client-server communication using SocketIO
- How to make a Chess game using Javascript
DescriptionIn this course we are going to create from scratch …
Rating 4.5 out of 5 (2 ratings in Udemy)
What you'll learn- How to use NodeJs to create a backend
- How to use SocketIO
- How to use MySQL with NodeJs
- How to use Redis with NodeJs
- How to create an online game using NodeJs and SocketIO
- How to use a view engine with NodeJs
- How to use VanillaJs to update or create DOM Elements
- How to make client-server communication using SocketIO
- How to make a Chess game using Javascript
DescriptionIn 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 nodejs
How to connect to your MySQL database from your nodejs server
How to connect to a Redis client from your nodejs server
How to use SocketIO for client-server communication
How to use VanillaJs to create or update DOM Elements
How to create a complete chess game using javascript
How to setup a MySQL database for your game
How to create and use MySQL procedures
How to create middlewares to authenticate users
How to store cookies
How to use jwt authentication
How 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.
*************************************************************************************************