Serverless function written in Typescript calculates payout data for hourly workers.

Setup Local Environment

To develop the project you will need these tools.

Node 14+

Highly recommend installing Node 14 with a package manager. Ex: for OSX

brew install node

alternatively you can install Node 14 following the install steps on the nodejs website

Yarn

install yarn after node is installed

npm install --global yarn

Run Locally

Install Dependencies

yarn install

Run

yarn dev