Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 2.31 KB

README.md

File metadata and controls

60 lines (42 loc) · 2.31 KB

Payment Mock Test

Video Demo: https://raw.githubusercontent.com/ibloggerhk/paymentmock/master/readme/video_demo.mov

Live Demo: https://enigmatic-mountain-19044.herokuapp.com

System Flow

Prerequisites


The easiest way to get started is to clone the repository:

# Get the latest snapshot
git clone https://github.com/ibloggerhk/paymentmock-starter.git myproject

# Change directory
cd myproject

# Install NPM dependencies
npm install

# Then simply start your app
node app.js

Make sure you’ve set MONGODB_URI and paypal config in .env

Project Structure

Name Description
views/app.ejs Home page template.
.env. Paypay development clinet id and database URI.
app.js The main application file.
package.json NPM dependencies.

List of Packages

Package Description
body-parser Node.js body parsing middleware.
dotenv Loads environment variables from .env file.
express Node.js web framework.
mongoose MongoDB ODM.
paypal-rest-sdk PayPal APIs library.