1. Project setup
Let's go step-by-step into initializing the project for this tutorial.ng bo
Initialize repository
Create working directory
# create folder & jump into it
mkdir vault-bot && cd vault-bot
# init your git repository
git initMark un-needed files as ignored for Git
node_modules
.envInitialize Typescript package
Create the Node.js package
# using `-y` option will make the init use all the defaults options
npm init -yInstall dependencies
Initialize Typescript configuration
Setup the main script
Create the script file
Add a npm script to run it
Verify that the setup works
Last updated