text: const express = require('express');
  const router = express.Router();
  
  router.get('/api/v1/bootcamps', (req, res) => {
      // res.json({ name: 'Farai' });
      // res.status(400).json({ success: false, data: { id: 1 } });
      res.status(200).json({ success: true, data: { msg: 'show all bootcamps' } });
  });
  router.get('/api/v1/bootcamps/:id', (req, res) => {
      // res.json({ name: 'Farai' });
      // res.status(400).json({ success: false, data: { id: 1 } });
      res.status(200).json({ success: true, data: { msg: `Retrieve a single  bootcamps:${req.params.id}` } });
  });
  router.post('/api/v1/bootcamps', (req, res) => {
      // res.json({ name: 'Farai' });
      // res.status(400).json({ success: false, data: { id: 1 } });
      res.status(201).json({ success: true, data: { msg: 'Created a bootcamp course' } });
  });
  router.put('/api/v1/bootcamps/:id', (req, res) => {
      res.status(200).json({ success: true, data: { msg: `Updated  a bootcamp course :${req.params.id}` } });
  });
  
  router.delete('/api/v1/bootcamps/:id', (req, res) => {
      res.status(200).json({ success: true, data: { msg: `Delete bootcamp:${req.params.id}` } });
  });
  