basic functionality for image upload and db change

This commit is contained in:
Arjun Patel
2019-04-09 02:08:15 -07:00
parent 27626a0fbf
commit 3539f7aef9
7 changed files with 255 additions and 6 deletions
+5 -1
View File
@@ -8,12 +8,16 @@ const {
cause,
region,
stripe,
project
project,
image
} = require('../controllers');
// Charity signup route
router.post('/', organization.createOrganization);
// Charity upload profile pic
router.post('/profilepic', image.uploadProfilePic);
// GET Activate org's stripe connected account
router.get('/stripe/connect', stripe.activateStripeAccount);