text: const express = require('express');
  const mongoose = require('mongoose');
  const cors = require('cors');
  const routes = require('./routes');
  
  const app  = express();
  
  mongoose.connect('mongodb+srv://admin:admin@cluster0-svaoa.mongodb.net/dev-radar?retryWrites=true&w=majority', {
    useNewUrlParser: true,
    useUnifiedTopology: true,
  });
  
  app.use(cors());
  app.use(express.json());
  app.use(routes);
  
  app.listen(3000);
  