Created
July 30, 2020 21:12
-
-
Save SergeyMell/09f92b26b662149171578f3d4a0a05f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NestFactory } from '@nestjs/core'; | |
import { AppModule } from './app.module'; | |
import { setupAdminPanel } from './admin-panel/admin-panel.plugin'; | |
async function bootstrap() { | |
const app = await NestFactory.create(AppModule); | |
/** | |
* Setup Admin panel | |
*/ | |
await setupAdminPanel(app); | |
await app.listen(3000); | |
} | |
bootstrap(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment