Author: Felix Tang
-
Create web interface for NTP server – dashboard.js & dashboard.html (Part 5)
-
Create web interface for NTP server – practicing MySQL (Part 4)
This is part of my job in Web Programming project. The database is not related to this NTP server project. It is only used for illustrating how to create database, create tables and manipulate data. Enter Mysql console mode:mysql mysql> create database onlineshop;mysql> show databases;+——————–+| Database |+——————–+| information_schema || mysql || onlineshop || performance_schema ||… Read more
-
Create web interface for NTP server – index.js & index.html (Part 3)
In a typical Express application, the index.js file under the route ‘/’ serves as the primary router for handling requests directed at the root URL (/). Usage and Functions of index.js In my index.js, I will add the some route handlers. (A) Module Imports: (B) When a HTTP GET request is made to path /login, /config, /account, /dashboard, the matched route… Read more