working on organization create endpoint

This commit is contained in:
Arjun Patel
2019-01-27 19:40:18 -08:00
parent 1aa0d2268a
commit 60590906a0
5 changed files with 77 additions and 9 deletions
+3 -1
View File
@@ -47,8 +47,10 @@ app.get('/', function(req, res, next) {
res.send('Welcome to the Ucharify API');
});
//adding routes to Express app
//donor routes
app.use('/api/donors', require('./app/routes/donor.route.js'));
//organization routes
app.use('/api/org', require('./app/routes/organization.route'));
//auth route
app.use('/api/auth', require('./app/routes/auth.route.js'));
//general routes