Picpay backend challenge made with node and typescript.
Install the dependencies.
npm i
Fill in the environment variables(PORT is optional).
PORT=
DB_URL=
To test locally.
npm run dev
/transaction
{
"value": 100.0,
"sender": "6533af9339a71d573ffc16cf",
"receiver": "6533b06e39a71d573ffc16d4"
}
"payer" changed to "sender" and "payee" changed to "receiver".
To build and host on any platform.
npm run build