Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
dependabot-preview[bot] 06800f6aab
Merge fa41bc4840 into 081926961e
há 5 anos
.gitignore Basic functionality now works há 7 anos
README.md Added paymentNetwork, it also skips all users with +-0 há 7 anos
_config.yml Set theme jekyll-theme-slate há 7 anos
index.js Forgot to save before last commit há 7 anos
package.json Update got requirement from ^8.0.1 to ^9.6.0 há 5 anos

README.md

Breakups

Creating a payment chain for bill splitting needs. Try it out now!

Dependency Status

api domain: https://breakups.herokuapp.com/

API Call Documentations

Type Call Request Response
GET / - redirects to documentation page
GET /help - redirects to github repository
GET /webapp - redirects to the webapp
POST /emailPaymentChain email ["Email sent to user1@domain.com", "Email sent to user2@domain.com"]
POST /total standard / email { "total": 200 }
POST /oweChart standardemail standardemail
POST /paymentChain standardemail chain
POST /perPerson standardemail { "perPerson": 30 }
POST /sortedOweChart standardemail standardemail

Expected Request / Response

standard

{
  "users": [
    {
      "name": "Person1",
      "amount": 100
    },
    {
      "name": "Person2",
      "amount": 50
    },
    {
      "name": "Person3",
      "amount": 30
    }
  ]
}

chain

[
  {
    "from": "Person2",
    "to": "Person3",
    "amount": 10
  },
  {
    "from": "Person3",
    "to": "Person1",
    "amount": 40
  }
]

email

{
  "users": [
    {
      "name": "Person1",
      "email": "person1@domain.com",
      "amount": 100
    },
    {
      "name": "Person2",
      "email": "person2@domain.com",
      "amount": 50
    },
    {
      "name": "Person3",
      "email": "person3@domain.com",
      "amount": 30
    }
  ],
  "mixmax-api": "your-mixmax-api-key"
}