Appearance
Your powerful backend development framework. MARS Engine is a server‑side JavaScript runtime and hosting platform built for APIs, WebSockets, and document generation.

MARS Engine is a server-side JavaScript runtime and hosting platform purpose-built for APIs, WebSockets, and document generation.It lets you ship complete back‑end logic-from SQL queries to PDF reports-in a single, version‑controlled workspace that runs entirely in the browser and deploys with one click.
Welcome to MARS Engine! This lightning-tour walks you through building and testing the classic "Hello, World!” API, while showing off a few MARS super‑powers.
How MARS Engine processes every API and WebSocket call-from start to finish.
MARS Engine supports managing user sessions through the session() function and related helpers.
MARS Engine automatically wraps every API script in a database transaction. If your code finishes without throwing, the transaction is committed.
Organize logic into reusable functions and shared libraries. Keep your codebase clean and maintainable.
Retrieves a route, query, file, or form parameter from the request.
Writes content to the response body in a MARS Engine handler.
The db module in MARS Engine provides a robust interface for interacting with the project's local database schema.
Various cryptographic utilities, including hashing, HMAC and key/token generation.
The response object controls how MARS Engine APIs send responses to clients.
The request object in MARS Engine lets you access all incoming request data.
The fs helper provides functions for interacting with the file system within the MARS Engine environment.
Need help? Contact support
Copyright © 2025 marsengine.net