GithubHelp home page GithubHelp logo

appsforhere's Introduction

appsforhere

Build Status Dependency Status Code Climate Coverage Status

A Kraken 1.x based node.js web application to add functionality to PayPal Here and related PayPal Retail systems. This application uses external APIs only and thus can be customized and deployed pretty much anywhere.

This is a very "green" project - there are undoubtedly loads of bugs and room for improvement. But that's why you're here. File issues and make pull requests!

You can try it out on our server with a PayPal account.

** PLEASE NOTE ** For improved performance, these modules should be installed globally to ensure native modules where appropriate:

  • mongoose ^3.8.15
  • connect-mongo ^0.5.3
  • lwip
  • socket.io ^1.1.0
  • mubsub

And then you must set the NODE_DIR environment variable to your global module directory. We do this to enable git deploy with the same package.json. Also note there is a specific grunt target for heroku which will take these dependencies and add them to the package.json deployed to heroku since heroku has no such thing as global installs.

The server also requires the following environment variables:

  • NEWRELIC_APP, NEWRELIC_KEY - the app name and key for New Relic monitoring

** ALSO NOTE ** The PayPal OAuth scopes for many of the APIs used here must be manually enabled for your application (i.e. they are not self-service). Hopefully this will change in the near future, but until then just private message me and I will try to help if you don't already have access. Your app needs the following scopes:

The sandbox credentials are embedded in the source and you can mess with your hosts file to make the returnUrl work.

Useful Components

Appsforhere uses the following components which might be useful to look at if you're doing the same types of interactions:

  • passport - for integrating PayPal Access/Login With PayPal with Kraken/Express
  • Twilio - for SMS awesomesauce
  • Mailgun - for such SMTP
  • mongodb-queue - to manage queuing mail and sms jobs
  • socket.io - to stream server farm logs to the admin page. This is a bit tricky to get right with Kraken, so check index.js
  • d3.js - if you copy my d3 code that would make it like 4th hand

appsforhere's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.