Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

abpin/rest-api-sample-app-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

51 Commits

Repository files navigation

Rest API Sample app in Node.js

Overview

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.

Prerequisites

  • Node V0.8+
  • MongoDB server

Setting up the app

  • 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.

Configuration

Please see config.json in the root folder if you want to change the default application / mongo settings.

References

About

Sample App showcasing the REST APIs using the nodejs SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /