This is a simple pizza store app that allows you to explore the features provided by PayPal's REST APIs. Specfically, you can learn how to
- Save a credit card with paypal for future payments.
- Make a payment using a saved credit card id.
- Make a payment using paypal as the payment method.
- Node V0.8+
- MongoDB server
- Run
npm install
at the root folder to download dependencies. - Make sure Mongo server is running. The app creates a database called
paypal_pizza
by default. - Run
node app.js
to start the application. - Navigate to http://localhost:3000/ in your favourite browser.
Please see config.json
in the root folder if you want to change the default application / mongo settings.
- Github repository for Node.js REST API SDK - https://github.com/paypal/rest-api-sdk-nodejs