aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.js b/index.js
index a8fea3e..adc7db4 100644
--- a/index.js
+++ b/index.js
@@ -10,6 +10,8 @@ const app = express();
// Set static directory
app.use(express.static(path.join(__dirname, 'public')));
+app.use('/api/members', require('./routes/api/members'));
+
const PORT = process.env.PORT || 3000;
app.listen(PORT, () => console.log(`Server started on port ${PORT}`));