Skip to content

filias/gpwebpay_demoshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpwebpay_demoshop

Demoshop demonstrates the usage of gpwebpay package with Flask and React.js. The communication between Javascript and Flask happens with Fetch API. You need to have Python3 and npm installed.

usage

To run it locally:

To run the backend of the application first create, activate and install requirements on a virtualenv:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

You need to have the environmental variables needed by the gpwebpay package in order for the payment to go through. Check the documentation

Then run Flask:

python app.py

To run the frontend of the application:

cd /app
npm i
npm start

Open http://localhost:3000 to view it in the browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published