Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/catsmiaow/better-nodejs-project

Ways for a better Node.js backend project
https://github.com/catsmiaow/better-nodejs-project

better nest nestjs node nodejs project typescript

Last synced: about 1 month ago
JSON representation

Ways for a better Node.js backend project

Awesome Lists containing this project

README

        

# better-nodejs-project

Ways for a better Node.js backend project

## TypeScript

For preventing errors in your code with static analysis

- [TypeScript from scratch](https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html)
- [TypeScript Handbook](https://www.typescriptlang.org/docs/handbook/intro.html)

## NestJS Framework

For extensible architectural structures and production-ready functionality

-
-

## TypeScript ESLint

For correcting bad code and writing consistent code

-

It is recommended to apply the known extended presets in addition to the basic rules

- [eslint-config-airbnb-typescript](https://github.com/iamturns/eslint-config-airbnb-typescript)
- [eslint-config-airbnb](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb) with TypeScript support
- [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs)
- [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)

## Conventional Commits

For consistent commit message

-
-

## Semantic Versioning

For automatic versioning and changelog based on consistent commit messages

- [standard-version](https://github.com/conventional-changelog/standard-version)
- If you publish the project as a package, use [semantic-release](https://github.com/semantic-release/semantic-release).

## Husky - Git hooks

For consistent work to avoid mistakes before committing

-
- [commitlint](https://commitlint.js.org), [lint-staged](https://www.npmjs.com/package/lint-staged), [check-dependencies](https://www.npmjs.com/package/check-dependencies), etc.

### Example

See the source [code](package.json) of this repository

### Links

Other helpful links

- [Awesome Node.js](https://github.com/sindresorhus/awesome-nodejs)
- [Node.js Best Practices](https://github.com/goldbergyoni/nodebestpractices)
- [JavaScript Clean Code](https://github.com/ryanmcdermott/clean-code-javascript)
- [Goodbye, Clean Code](https://overreacted.io/goodbye-clean-code)
- [JavaScript Questions](https://github.com/lydiahallie/javascript-questions)
- [Modern JavaScript Tutorial](https://javascript.info)