text: const express = require('express');
  const mongoose = require('mongoose');
  const cors = require('cors');
  const routes = require('./routes');
  const server = express();
  
  mongoose.connect('mongodb+srv://danielgomesp:YkMOEoTzZqD6comf@cluster0-bwijw.mongodb.net/mytinder?retryWrites=true&w=majority', {
      useNewUrlParser: true
  });
  
  server.use(cors());
  server.use(express.json());
  server.use(routes);
  server.listen(3333);