'use strict';
var
  express = require('express'),
  router = express.Router();

router.use(require('../middlewares/auth'));

router.get('/', function (req, res, next) {
  res.json(["organizations"]);
  return next();
});

module.exports = router;

@@ -168,34 +168,1412 @@
 %7B%0A  
-res.json(%5B%22organizations%22%5D
+// mock data%0A  res.status(200).json(%7B%0A    organizations: %5B%0A      %7B%0A        id: 1,%0A        name: %22organization1%22,%0A        image_url: %22https://google.com%22,%0A      %7D,%0A      %7B%0A        id: 2,%0A        name: %22organization2%22,%0A        image_url: null,%0A      %7D,%0A    %5D%0A  %7D);%0A  return next();%0A%7D);%0A%0Arouter.post('/', function (req, res, next) %7B%0A  res.status(201).json(%7B%0A    organization: %7B%0A      id: 100,%0A      name: req.organization_name,%0A      image_url: null,%0A    %7D%0A  %7D);%0A  return next();%0A%7D);%0A%0Arouter.get('/:id', function(req, res, next) %7B%0A  // mock data%0A  res.status(200).json(%7B%0A    organization: %7B%0A      id: req.params.id,%0A      name: %22organization32%22,%0A      image_url: null,%0A    %7D,%0A    flowers: %5B%0A      %7B%0A        name: %22pansy%22,%0A        count: 23,%0A      %7D,%0A      %7B%0A        name: %22rose%22,%0A        count: 3,%0A      %7D,%0A      %7B%0A        name: %22blossom%22,%0A        count: 19%0A      %7D,%0A    %5D%0A  %7D);%0A  return next();  %0A%7D);%0A%0Arouter.get('/:id/flowers', function (req, res, next) %7B%0A  res.status(200).json(%7B%0A    flowers: %5B%0A      %7B%0A        name: %22pansy%22,%0A        count: 23,%0A      %7D,%0A      %7B%0A        name: %22rose%22,%0A        count: 3,%0A      %7D,%0A      %7B%0A        name: %22blossom%22,%0A        count: 19%0A      %7D,%0A    %5D,%0A    send: %5B%0A      %7B%0A        send_id: 23,%0A        flower_name: %22blossom%22,%0A        message: %22Fight!!%22,%0A      %7D,%0A      %7B%0A        send_id: 25,%0A        flower_name: %22cherry%22,%0A        message: %22Oh god, so sleepy%22,%0A      %7D,%0A    %5D%0A  %7D
 );%0A 

Create mock for organizations