CuriousCorrelation 09373c9796 fix(webapp-server): platform independent res paths | 2 недель назад | |
---|---|---|
.. | ||
src | 2 недель назад | |
.gitignore | 1 месяц назад | |
Cargo.lock | 1 месяц назад | |
Cargo.toml | 1 месяц назад | |
README.md | 1 месяц назад |
A secure static web server for Hoppscotch Webapp with content bundling (zstd
+ zip
) and verification (blake3
+ ed25519
).
# Build from source
cargo build --release
# or use Docker
docker build -t hoppscotch-webapp-server .
[!note] Configuration via environment variables:
FRONTEND_PATH
: UI assets build locationDEFAULT_PORT
: Server port (default: 3200)
GET /health
GET /api/v1/manifest
GET /api/v1/bundle
GET /api/v1/key
cargo watch -x run # Dev build with hot reload
cargo test # Run tests
cargo build --release # Production build