This is a small boilerplate to start a node app using Typescript with some code and commit padronization. It verifies your code before each commit and try to auto-fix it. Jest is already pre configured and it tests your code before each commit, so, you are not allowed to commit with tests issues. And finally, it validade your commit message using Convention Commit rules.
First you must install Eslint and Jest globally:
npm install -g eslint && npm install -g jestThen you have to clone it:
git clone https://github.com/mariojuniortrab/node-fresh-start.gitAnd install dependencies:
cd node-fresh-start && npm installNow, you can create your code inside src folder. You can compile your Typescript code into Javascript following this tutorial
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.