diff options
-rw-r--r-- | index.js | 21 |
1 files changed, 0 insertions, 21 deletions
@@ -3,27 +3,6 @@ const path = require('path'); const app = express(); -const members = [ - { - id: 1, - name: 'Garth Brooks', - email: 'garth.brooks@gmail.com', - status: 'active' - }, - { - id: 2, - name: 'Bob Evans', - email: 'bob.evans@gmail.com', - status: 'inactive' - }, - { - id: 3, - name: 'Alan Jackson', - email: 'alan.jackson@gmail.com', - status: 'active' - } -]; - // Gets all members app.get('/api/members', (req, res) => res.json(members)); |