Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 825 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 825 Bytes

NestJS + Wasmer

This example shows how to run NestJS on Wasmer Edge as an HTTP server.

Demo

https://<your-subdomain>.wasmer.app/ (deploy to get a live URL)

How it Works

  • server.js exposes a small Node HTTP endpoint for the runtime example.
  • package.json includes NestJS core, platform, and RxJS dependencies.
  • Wasmer Edge runs the Node.js process and forwards HTTP traffic to the configured port.

Running Locally

npm install
npm start

Open http://127.0.0.1:3000/ to hit the server locally. Set PORT=... if you want to use a different port.

Deploying to Wasmer (Overview)

  1. Install dependencies and confirm the app starts locally.
  2. Deploy from this example directory with wasmer deploy.
  3. Visit https://<your-subdomain>.wasmer.app/ once the deployment is live.