https://github.com/mizyind/nestjs-demo
A NestJS demo project.
https://github.com/mizyind/nestjs-demo
javascript nestjs nestjs-demo nodejs typescript
Last synced: 9 months ago
JSON representation
A NestJS demo project.
- Host: GitHub
- URL: https://github.com/mizyind/nestjs-demo
- Owner: miZyind
- License: mit
- Created: 2020-02-25T02:47:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-06-06T07:34:40.000Z (about 1 year ago)
- Last Synced: 2025-06-18T06:05:17.243Z (about 1 year ago)
- Topics: javascript, nestjs, nestjs-demo, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 2.91 MB
- Stars: 55
- Watchers: 3
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NestJS Demo
[](https://www.docker.com)
[](https://nodejs.org)
[](https://classic.yarnpkg.com)
[](https://www.mysql.com)
[](https://nestjs.com)
[](https://www.typescriptlang.org)
[](https://prettier.io)
[](https://eslint.org)
## 🌌 Techniques
- **[NestJS](https://nestjs.com)** - A progressive NodeJS framework for building efficient, reliable and scalable server-side applications.
- **[@nestjs/cli](https://github.com/nestjs/nest-cli)** - CLI tool for Nest.
- **[@nestjs/jwt](https://github.com/nestjs/jwt)** - Utilities module based on the JWT package.
- **[@nestjs/config](https://github.com/nestjs/config)** - Configuration module for Nest.
- **[@nestjs/typeorm](https://github.com/nestjs/typeorm)** - TypeORM module for Nest.
- **[@nestjs/swagger](https://github.com/nestjs/swagger)** - OpenAPI (Swagger) module for Nest.
- **[@nestjs/passport](https://github.com/nestjs/passport)** - .Passport module for Nest.
- **[@nestjs/platform-express](https://www.npmjs.com/package/@nestjs/platform-express)** - Under the hood, Nest makes use of Express.
- **[@nestjs/microservices](https://www.npmjs.com/package/@nestjs/microservices)** - In Nest, a microservice is fundamentally an application.
- **[Swagger](https://swagger.io)** - API Documentation & Design Tools for Teams.
- **[RabbitMQ](https://www.rabbitmq.com)** - Messaging that just works.
- **[amqplib](https://github.com/squaremo/amqp.node)** - AMQP 0-9-1 library and client for NodeJS.
- **[amqp-connection-manager](https://github.com/jwalton/node-amqp-connection-manager)** - Auto-reconnect and round robin support for amqplib.
- **[Passport](http://www.passportjs.org)** - Simple, unobtrusive authentication for NodeJS.
- **[passport-jwt](https://github.com/mikenicholson/passport-jwt)** - Passport authentication using JSON Web Tokens.
- **[RxJS](https://rxjs.dev)** - A reactive programming library for JS.
- **[Bcrypt](https://github.com/kelektiv/node.bcrypt.js)** - A library to help you hash passwords.
- **[TypeORM](https://typeorm.io)** - Amazing ORM for TS and JS.
- **[Reflect Metadata](https://github.com/rbuckton/reflect-metadata)** - Prototype for a Metadata Reflection API for ECMAScript.
- **[Class Validator](https://github.com/typestack/class-validator)** - Decorator-based property validation for classes.
- **[Class Transformer](https://github.com/typestack/class-transformer)** - Decorator-based transform-, serializ-, and deserialization between objects and classes.
- **[TypeScript](https://www.typescriptlang.org)** - Typed JS at Any Scale.
- **[Prettier](https://prettier.io)** - Opinionated Code Formatter.
- **[ESLint](https://eslint.org)** - Pluggable JS linter.
- **[typescript-eslint](https://typescript-eslint.io)** - Monorepo for all the tooling which enables ESLint to support TypeScript.
- **[eslint-config-prettier](https://github.com/prettier/eslint-config-prettier)** - Turns off all rules that are unnecessary or might conflict with Prettier.
- **[eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier)** - ESLint plugin for Prettier formatting.
- **[eslint-plugin-import-x](https://github.com/antfu/eslint-plugin-import-x)** - ESLint plugin with rules that help validate proper imports.
- **[Husky](https://github.com/typicode/husky)** - Git hooks made easy.
- **[commitlint](https://github.com/conventional-changelog/commitlint)** - Lint commit messages.
- **[@commitlint/cli](https://www.npmjs.com/package/@commitlint/cli)** - Primary way to interact with commitlint.
- **[@commitlint/config-conventional](https://www.npmjs.com/package/@commitlint/config-conventional)** - Shareable commitlint config enforcing conventional commits.
## 🔮 Usage
Run development environment:
```bash
# Install packages
$ yarn
# Up docker compose environment
$ docker-compose up
# Setup dotenv variables
$ cp .env.example .env
# Launch app
$ yarn dev
```
Build & Run production environment:
```bash
# Install packages
$ yarn
# Build project
$ yarn build
# Launch app through Yarn
$ yarn start
# Launch app through Node
$ node dist/main.js
```
## 🖋 Author
miZyind
## 📇 License
Licensed under the [MIT](LICENSE) License.