Git Product home page Git Product logo

rwieruch / react-express-stripe Goto Github PK

View Code? Open in Web Editor NEW
236.0 9.0 66.0 200 KB

๐Ÿ’ฐ Minimal Boilerplate for Stripe used in React and Express. Charge payments from your customers with this project.

Home Page: https://www.robinwieruch.de

License: MIT License

HTML 24.59% JavaScript 75.41%
reactjs react stripe stripe-api stripe-checkout stripe-payments stripe-payment express express-js

react-express-stripe's Issues

Upgrade to React 16

React 16 got released and there are practically no changes to the external API of React. Perhaps it would be an easy win to upgrade the project to React 16. Someone keen to do it?

Can't resolve 'child_process'

Hello, thanks for this tutorial.

When trying to install stripe for the server side code,

npm install --save stripe
npm run build:dll

I got this npm error :

ERROR in ./node_modules/stripe/lib/stripe.js
Module not found: Error: Can't resolve 'child_process' in '/home/louis/scotland2018/node_modules/stripe/lib'

Would you know what to do ? I searched all over the internet but there does not seem to be any solution. I checked the other opened issues about this subject but I did not find a solution. I want to use stripe-node server side only (I got that it should not be use client side and that Stripe.js is for client side). But still, why can't I build the dependencies ?

Note: I am using express with react (react-boilerplate) and webpack with dllPlugin. I added stripe to the excluded modules so that it excludes dependencies which are not intended for the browser

Thank you !

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.