Skip to content

mateusaka/payment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

Picpay backend challenge made with node and typescript.

Installation

Install the dependencies.

npm i

Fill in the environment variables(PORT is optional).

PORT=
DB_URL=

To test locally.

npm run dev

Payload

POST

/transaction

{
    "value": 100.0,
    "sender": "6533af9339a71d573ffc16cf",
    "receiver": "6533b06e39a71d573ffc16d4"
}

"payer" changed to "sender" and "payee" changed to "receiver".

Build

To build and host on any platform.

npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published