Donation App was created for non-profits to quickly implement a platform to receive online donations.
Table of Contents generated with DocToc
- Description
- User Stories
- Built With
- Installation
- Setting Up Stripe
- User Accounts
- Contributors
- License
- Ensure you have MongoDB and Node set up before installation!
git clone https://github.com/Danielthweatt/DonationApp.git
- Open the repo in your code editor and install the dependencies by typing
npm install
in your terminal - Next, type
npm start
in your terminal - the application should then appear in your browser
- In order to have the application function with your organization, you will need to set up a Stripe account.
- Once you have an account, you'll need your API keys
- You can find your keys through your Stripe dashboard and hitting the Developers section (found in the left navbar)
- The publishable key will start with 'pk_test' and the secret will start with 'sk_test'
- In the DonationInput.js and Settings.js components you will need to plug your publishable key into the code - look for the comments
- Next, set the variable SECRET_KEY in the production environment to your secret key, and you should be good to go!
- Users are able to donate without creating an account. Their account information is then stored in the mongo database.
- If they do make an account they can save their credit card information so they do not need to re-enter it. Payment info can also be edited and/or deleted at any point.
- They are able to update their saved password and other account settings.
- If a user forgets their password, they can request a password reset - this utilizes Nodemailer to send the user an email with a password reset link.