BaseX HTTP Services


Welcome to the BaseX HTTP Services: sample web applications written in XQuery, and a REST interface to your databases.

For the full picture, see the Web Application documentation.

RESTXQ & WebSockets

These applications are built entirely in XQuery with RESTXQ. Their source is yours to read: a starting point for your own web applications.

DBA: Database Administration

A complete web front-end for your server

Browse and edit databases and their resources, manage users, run queries in a live editor, and keep an eye on jobs, sessions and logs, all updating in real time.

Chat Application

A live, multi-room chat

Switch between channels, see who is online and where they are, and post to the whole room or privately to a single person. Every message pushed instantly over WebSockets.

For the full effect, create multiple users in the DBA, open the chat in two browsers, and log in as different users.

REST

Work with your databases straight over HTTP

Read, add, replace and delete documents, and run queries. All with ordinary web requests, no extra tooling required. Try it here.

WebDAV

Your databases as a file system

Browse and edit resources with your file manager or XML editor. Databases appear as folders below /webdav.