Skip to content

peter279k/web-monetization-demo

Repository files navigation

Web Monetization Demo

Introduction

  • This is a Web Monetization Demo
  • It's developed by Peter
  • This web application service is written by PHP, JavaScript
  • I use the Slim Framework and jQuery to complete back-end and front-end functionalities easily :)
  • I use the Bootstrap template to complete all of template pages

Prerequisites (Production)

  • One VPS server, or a Platform with supporting MySQL, PHP :).
    • Our Production Demonstration is located on DigitalOcean :).
  • PHP 7.2+
  • MySQL 5.7+ or MySQL 8.0+ version support
  • Apache 2.4+ version support
  • Composer support and it can help this application service to install required dependencies easily!
  • A Web browser with Coil support.
  • Need some help? Try to run cd /path/to/web-monetization-demo and ./installer.sh --prod and it will help you to check some stuffs for your production!

Prerequisites (Development)

  • A operating system with supporting PHP, MySQL and Apache server. These required versions are as follows:
  • Ubuntu 18.04+
  • PHP 7.2+
  • MySQL 5.7+ or MySQL 8.0+ version support
  • Apache 2.4+ version support
  • Composer support and it can help this application service to install required dependencies easily!
  • A Web browser with Coil support.
  • Need some help? Try to run cd /path/to/web-monetization-demo and ./installer.sh --dev and it will help you to check some stuffs for your development!

Installation

  • Installation is not hard, and try to use ./installer.sh --dev for the development and ./installer.sh --prod for the production.
  • Above step will help you most of developers to build their demonstration environment easily.

Features

  • Implement Web Monetization to show exclusive contents when sending payment to Coil.
  • Implement "alternative" donation page to let developers donate micro payments when staying specific donating page.
  • Implement transaction history to present the total USD I have made on this Web Monetization Demo service :).

References