HSX Backend Server
HSX includes a built-in backend server with routing, JSON responses, database operations, and CPGH protocol support.
{`// REST API in HSX HSX: "/api/users" { "SELECT * FROM users" "[ ]" = 200 } HSX: "/api/users" { "INSERT INTO users (name) VALUES ('Bob')" = 201 " " } HSX: "database.db" HSX: { "SELECT * FROM missing_table" "database" } HSX: "database" { " " = 500 }`} ๐ Backend Server in Docker HSX backend servers run inside Docker containers with the HSX runtime. The server automatically starts on port 4096 (CPGH protocol) and 3000 (HTTP).