Startup application for nodejs apps, use it to start to build your applications based on it but feel free to change what you want to.
First, you should be using yarn, if you don't, start installing by
npm install -g yarn
Now, run yarn
to restore the dependencies.
If you are the kind of person who like to restart the app on each file save, run yarn watch
and start to code, otherwise yarn build
.
For ease debug and inspection, use yarn build:dev
, this way, source mapping will be generated inline on your transpiled files.
There is already one ./.vscode/launch.json
configured to use sourceMaps on debug, put some breakpoints on your source files, hit F5 and be happy.
Jest is already configured to respect some rules and generate coverage, run yarn test