Aside from having Git and Node V22.6.0+ already installed:
- Inside your directory of choice run:
git clone https://github.com/PredatorIWD/node-ts-task
- Install dependencies from inside that directory:
cd node-ts-task
npm i
- Run the typescript file directly with Node.js V22.6.0+:
node --experimental-strip-types main.ts
- Open URL: http://localhost:3000/api/files