Skip to content

Instantly share code, notes, and snippets.

@rskhan167
Created September 19, 2021 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rskhan167/58a236bdd6565f67dc744c81154f0886 to your computer and use it in GitHub Desktop.
Save rskhan167/58a236bdd6565f67dc744c81154f0886 to your computer and use it in GitHub Desktop.
Nestjs Series
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.setGlobalPrefix('api');
await app.listen(3000);
}
bootstrap();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment