This document discusses using BaseX, an XML database, for web applications. It describes GraphXQ, which uses RESTXQ and Graphviz to visualize graphs. It also describes CellarXQ, an Angular.js single page application that uses BaseX and OAuth for user authentication and data storage. Finally, it shows how to create a chatbot using BaseX, Node.js and Socket.io that passes messages to an XQuery script for processing.