This is a starter kit for building scalable and maintainable server-side applications using Nest.js. It is designed to work seamlessly with various Object-Relational Mapping (ORM) libraries such as Prisma, TypeORM, and Mongoose.
- Flexible configuration for multiple ORMs.
- Pre-configured for Prisma, TypeORM, and Mongoose.
- Modular structure for easy scalability.
- Built-in authentication and authorization middleware.
- API documentation using Swagger.
- Logging with Winston.
- Node.js (version >= 14)
- npm or yarn
- Clone the repository:
git clone https://github.com/nainglinnphyo/nestjs-starter.git
cd nestjs-starter-kit
- Install Dependencies
npm install
# or
yarn install
- Copy the example configuration file:
cp .env.example .env
- Start the app
npm run start:dev
# or
yarn start:dev