Welcome to my learning lab

Building the Web,
One Line at a Time

This site demonstrates HTML, CSS, Vanilla JS and a Node.js / Express backend connected to SQL Server — fully deployed on a real host.

HTML5 CSS3 JavaScript Node.js Express SQL Server IIS

GET /api/status

این بخش یه درخواست واقعی به بک‌اند با fetch() می‌زنه و نتیجه رو نشون میده.

Connecting…
Loading…

How it works

  1. Browser runs fetch('/api/status')
  2. IIS routes the request through iisnode to app.js
  3. Express reads server time & DB connection state
  4. Returns a JSON response
  5. JS parses JSON and updates the DOM

GET /api/messages

پیام‌های ذخیره‌شده در SQL Server — به‌صورت live از دیتابیس خونده میشن.

POST /api/messages

این فرم یه POST request ایجاد میکنه و داده رو تو دیتابیس ذخیره میکنه.

Request Preview

هر بار که فیلدها رو پر کنی، Request Body رو اینجا میبینی:

{
  "name": "",
  "email": "",
  "message": ""
}

Last Response

Waiting for submit…