UNPKG

nestjs-tsx-views

Version:

Server-side JSX/TSX rendering for your NestJS application 🚀

10 lines • 375 B
import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module.js'; const DEFAULT_PORT = 3000; async function bootstrap() { const app = await NestFactory.create(AppModule); await app.listen(process.env.PORT || DEFAULT_PORT); console.log(`Application is running on: ${await app.getUrl()}`); } void bootstrap(); //# sourceMappingURL=main.js.map