blockmason / lndr

Lending on the Blockchain
https://lndr.io/
9 stars 6 forks source link

Added UI notification for PayPal requests #191

Closed willbach closed 6 years ago

willbach commented 6 years ago
  1. Problem: When a friend requests to send a PayPal payment, the user received a push notification but not a UI notification. This adds all of the server / DB functionality necessary for the user to see UI notifications and handle them. https://blockmason.atlassian.net/browse/ENG-144
  2. Solution: Create a minor DB that stores the friend and requestor addresses for situations in which a user wants to prompt a friend to connect PayPal so that the friend can be paid. There are POST, GET, and DELETE routes
  3. No trade-offs. This has been tested locally and is working as expected
  4. Prior to merge, the file lndr-backend/db/migrations/2018-07-20T10.00.00Z_create_table_paypal_notifications.sql must be run on the prod DB to create the new table
canterberry commented 6 years ago

:heavy_check_mark: Migration has run successfully. OK to merge when CI builds pass.