node-typescript-robertojr

1.0.0 • Public • Published



Node.JS + Typescript template

Template to start the API development with Typescript

GitHub top language GitHub language count Codacy grade Repository size GitHub last commit Repository issues

🔧 Features

  • TypeScript with ts-node-dev
  • tsconfig-paths
  • EditorConfig
  • ESLint
  • Prettier
  • Setting Debug
  • Jest
  • Babel

ℹ️ How To Use

To clone and run this application, you'll need Git, [Node.js v10.16][nodejs] or higher + [Yarn v1.13][yarn] or higher installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/robertokbr/TemplateTSNode.js.git

# Go into the repository
$ cd TemplateTSNode.js

# Install dependencies
$ yarn install

# Run the app
$ yarn start

🕹 Config ESLint autocorrect

  • Install ESLint VSCode integration

  • Add in settings.json

    jsx
    "[javascript]": {
    "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true,
    
     }
    },
    "[javascriptreact]":{
    "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
         }
      },
    "[typescript]":{
    "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
      }
    },
    "[typescriptreact]":{
    "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
      }
    }
    

📝 License

This project is under the MIT license. See the LICENSE for more information.

Join me on 👋 Linkedin

/node-typescript-robertojr/

    Package Sidebar

    Install

    npm i node-typescript-robertojr

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    247 kB

    Total Files

    14

    Last publish

    Collaborators

    • robertokbr