Coder Social home page Coder Social logo

rkoval / order-me-pizza Goto Github PK

View Code? Open in Web Editor NEW
16.0 4.0 2.0 714 KB

A stupid service providing the ability for people to easily buy you a pizza delivery

Home Page: https://ryankoval.pizza

License: MIT License

JavaScript 55.16% CSS 4.44% Dockerfile 1.57% Pug 38.83%
pizza

order-me-pizza's Introduction

order-me-pizza

A dumb website originally published on April 1st, 2016 that enables your friends/enemies to buy you a pizza delivery without you having to give them anything in return. It uses the Dominos API for ordering.

Prerequisites

  1. A working PayPal developer account. You'll need the client/secret keys to put into the configuration.
  2. The proper JSON for what items you want to order www.dominos.com. See the dominos node API documentation for more details. You'll need this in the config.
  3. A properly filled out config file. You shouldn't need to make any actual code/logic changes for the app to work properly; as long as the config conforms to what Dominos and PayPal expect, the transaction will go through and you will get your pizza ๐Ÿ•

Install

$ npm install

Run in Dev mode

$ npm run dev

By default, you should be able to hit the app at http://localhost:3003.

Run in Prod mode

$ npm start

If actually running on a production server, you will need to make sure that your NODE_ENV environment variables is set to production so that the live PayPal transactions will kick in.

See the scripts portion of package.json for more details on what these commands are actually doing.

TODO

[ ] Add more detail to this README when it's not 2am in the morning

order-me-pizza's People

Contributors

rkoval avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

order-me-pizza's Issues

Credit card info

Hello,

I am trying to port this delicious script to a PHP package and I am wondering how is Paypal involved in the transaction ?

I can see there are informations about credit card in the config file and also in this file, so I am not sure why the user has to go to Paypal first if the credit card will still endup in the script ?

Am I missing something ?

Thanks.

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.