This is a template that will help you to create NodeJS projects.
Ok, so now start an amazing projects!
To install Dependencies:
yarn
To Build tsc
files (on ./dist
folder):
yarn build
To run on dev enviroment:
// Port 3333
yarn dev:server
It's necessary install some plugins at your IDE to get the better of this template:
- ESLint (dbaeumer.vscode-eslint)
- Prettier Code Formatter (esbenp.prettier-vscode);
Type Command + ,
and then add this configurations:
"[javascript]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true
},
"[javascriptreact]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true
},
"[typescript]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true
},
"window.zoomLevel": 0,
"editor.defaultFormatter": "esbenp.prettier-vscode"
-- Made with 🖥, ☕️ and ❤️.