Skip to content

allensh11/Sebra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sebra 🦓

Sebra is a tool for online vendors to collect payments/donations through Libra. Vendors (businesses, content creators, musicians etc) can generate a code snippet to be integrated with their blog/online store etc. Sebra aims to create a simple user experience that allows users to make simple payments and vendors to get paid without dealing with the complexities of public/private keys.

Workflow:

  1. Vendor generates code snippet to add to their site. This generates a 'Pay with Libra' button.

Snippet

  1. Payer creates a new account or logs in via an existing account.

Account

  1. Payer completes payment.

Gateway

  1. Done!

Gateway

Server Details

Created with Python. Utilises:

Run Locally:

In the api directory, run: docker-compose build followed by docker-compose up By default, the server is hosted on port :80

Client Details

Bootstrapped with Create React App.

Run Locally:

In the client project directory, you can run: npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Demo Version:

See Demo on: https://dgo.nz/hau0x/demo.html

Credentials:

Username: payerdemo Password: payer123

##Capabilities:

  • Log In as above user to create a payment
  • Registration of new users for payments
  • Businesses can register using dropdown in the login box.
  • To log in as the business receiving the payment in the above demo the following credentials can be used: Username: bizdemo Password: biz123
  • To generate your own "Pay with Libra" code snippet, simply create a new account as a Business user.

Releases

No releases published

Packages

No packages published