J.D Nicholls
Founding Full-Stack Web3 Engineer at @baxusco | Digital nomad 🎒 | Mentor 👨🏫 | Speaker 🗣️ | Developer 👨💻 | Creator of @proyecto26 #opensource #developer
NestJS provides an Architecture allows developers and teams to create highly testable, scalable, loosely coupled, and easily maintainable applications.
Creates an instance of NestApplication.
async function bootstrap() {
const app = await NestFactory.create<NestExpressApplication>(AppModule);
// SECURITY
setupSecurity(app);
// OPEN API
if (process.env.NODE_ENV !== 'production') {
setupSwagger(app);
}
await app.listen(3000);
}
bootstrap();
Creates a Postgres SQL database (Docker)
Creates a Database model (TypeORM)
Inject TypeORM Repositories
By J.D Nicholls
Founding Full-Stack Web3 Engineer at @baxusco | Digital nomad 🎒 | Mentor 👨🏫 | Speaker 🗣️ | Developer 👨💻 | Creator of @proyecto26 #opensource #developer