LSP-Examples icon indicating copy to clipboard operation
LSP-Examples copied to clipboard

Lua and LSP examples, including IoT/Cloud connectivity

LSP-Examples

Lua and LSP examples, including IoT/Cloud connectivity. New to Lua? Check out the online Lua tutorial.

  • Basic HTML form - The tutorial: HTML Forms and LSP for Beginners
  • Authentication: General - Introduction to the Barracuda App Server's authentication mechanism
  • Authentication: OAuth 2.0 - Shows how to access Github using OAuth 2.0
  • Authentication: Single Sign On - Mitigating Security Vulnerabilities of Pre-Installed Passwords with Single Sign-On Solutions for Enhanced System Integrity
  • AJAX: For Beginners
  • AJAX: Over WebSockets
  • Create a light Interactive Dashboard App using Pure.css
  • Dynamic Navigation Menu
  • Debug Lua - How to Debug Lua Code Using Visual Studio Code
  • IoT: SMQ Examples - Easy and secure device management using SMQ
  • IoT: MQTT and AWS - How to Connect to AWS IoT Core using MQTT & ALPN
  • IoT: MQTT Sparkplug - How to use the MQTT Sparkplug library
  • IoT: MQTT Google Cloud - Connecting to the Google MQTT Bridge
  • ESP32 Microcontroller Examples - Examples designed for Xedge32
  • MinnowSim - Source code for the tutorial Your First Embedded Single Page Application
  • MyApp.zip - Ready to run example designed for the tutorial Mastering Xedge Application Deployment: From Installation to Creation
  • SQL: SQLite Examples - Database examples
  • SQL: MySQL and Redis Examples - Database examples
  • SQL: PostgreSQL Example - Database example
  • File Upload, including drag and drop - HTML based file upload
  • WebDAV and Web-File-Server - Network drive and secure file sharing (example 1)
  • WebDAV and Web-File-Server with User Database - (example 2)
  • How to add 'require' search path to an app
  • Sockets and webSockets examples
  • Web Shell - web based alternative to SSH
  • The ephemeral request/response environment - using response:include() and response:forward()
  • CGI Plugin and Examples - For old apps using Common Gateway Interface
  • QNX: PPS to SMQ Bridge - How to extend QNX Persistent Publish Subscribe

Linux Users

Most of the examples include hidden files and/or directories. With the Barracuda App Server, resources starting with a dot are hidden and cannot be accessed by an HTTP client such as a browser. The resources can only be accessed on the server side. To make sure you see all resources, use the Linux command: ls -a