server

command
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Command server is the example server of the end to end suite.

go run ./examples/server

Environment:

PORT          port to listen on (default 8205)
YPY_DIST      YPY build to serve: a file, or a directory holding ypy.min.js
              (default: dist/ of this checkout). Extensions are looked up in
              <dir>/ext, then in src/ext.
YPY_EXTRA     comma separated extension names (without .js) loaded after the core.

Page URLs: /<app>/ where app is native.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL