To install backend dependencies: npm install
Using Yarn
yarn install
- Express
- React
- MongoDB
- PayPal Rest SDK
- Typescript
This is a minimal work flow that will help you to easily incoporate PayPal subscription into small and complex applications.
PayPal Rest SDK was used to create product and plans users will subscribe to.
Due to the flexibility and straightforwardness of PayPal subscription when you use PayPal smart button, all you need to do to validate user actions on the frontend is to listen to webhook event and update your application as required.
You can check this repo for the frontend of this project.