Recently Updated Pages
Dockerfile
React # Use Node.js 20 on the ARM64 platform (suitable for ARM-based systems like Apple Silicon)...
Docker Script
docker build # Build images docker build -t your-username/image-name:tag <loacation> docker pu...
Docker Compose
database compose version: "3.5" services: postgres: image: postgres:14-alpine comm...
Java Inputs
You can already show the data to the users. Now let's receive it from user. In java reading the...
Java Variables
Variables are the values that stores data in it and you can use it easily variables can be in lo...
First Java program
Assuming that you already can run JAVA in your machine.Let's learn the java basic to begin your f...
Create Repo
1. Go to https://csgit.sit.kmutt.ac.th/ and look at the top right 2. Click the "+" Icon ...
Initialization Project Front + Back
1. Go to your IDE and open blank directory 2. open your own terminal write "git init" ...
IoT Lab - Homebridge Setup
Introducing Homebridge, an Apple Homekit Gateway for simulating HomeKit compatible device. In ge...
LAB: how to do auth in your app?
Let's learn about authentication. Authentication is the one of the most common and widely use in...
What is middleware?
What is middleware? middleware is a function that sits between the incoming request and the outg...
Sending Cookies
What is Cookie? Cookies are small pieces of data stored on a user's device by websites they visi...
Using Cookies
How to use cookies Now as we can send cookies, I'll show you an example of how to get that cooki...
JWT: How to securely stores cookies.
What is JWT? JWT stands for JSON Web Token. It's a compact, URL-safe means of representing claim...
Assignment : Integration with frontend
1. Download the frontend from this link https://drive.google.com/file/d/1UuALet56_czOseatkx2-jCsg...
Database connection
1. Let's start by creating an index.js then initializing your JavaScript project by running npm...
Example of Create
1. Let's create an endpoint to create new user into the database, create create.js into directory...
Example of Delete
Let's create an endpoint to delete user from the database, create deleteUser.js into directory ...
Example of Update
Let's create an endpoint to update user balance into the database, create updateBalance.js into...
Example of Read
Let's write the endpoint that query user balance data from the database and response to the use...