Expose your local NestJS application to the internet with a single function call. Perfect for webhook testing, API sharing, and mobile development.
Import the plugin, call it after your app starts listening, and you're done. The tunnel starts automatically with smart port detection. No extra setup required.
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { outray } from '@outray/nest';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
// Start the server
await app.listen(3000);
// Start the tunnel
await outray(app);
}
bootstrap();$ npm run start:dev
[Nest] Application is running on: http://localhost:3000
➜ Tunnel: https://quick-tiger.outray.app
The OutRay NestJS plugin works seamlessly with your favorite databases, APIs, and NestJS modules.