Skip to content

Sam-kemit/node_ebookseller_stripe_paypal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node server with Ebook Stripe & Paypal 💳

Node.js, express app that uses the Stripe and Paypal API to sell an ebook.

💻 I developed this app to practice online payment APIs. To see the project, click ➡️: here

Version

1.0.0

Sreenshot

dashboard stripe

Usage

Create a config/keys_dev.js file and add

Stripe

module.exports = {
  stripePublishableKey:'_YOUR_OWN_PUBLISHABLE_KEY_',
  stripeSecretKey:'_YOUR_OWN_SECRET_KEY_'
}

Create a config/userCredential.js file and add

Paypal

const userCredential = {
    mode: 'sandbox',
    client_id: '_YOUR_OWN_CLIENT_ID',
    client_secret: '_YOUR_OWN_CLIENT_SECRET'
}
module.exports = userCredential;

Installation

Install the dependencies

$ npm install 

Serve

To serve in the browser

$ npm start

Author

Samuel KUETA 🔗

License

MIT