text: const express = require('express');
  const server = express();
  const CORS = require('cors');
  
  require('dotenv').config();
  server.use(CORS());
  
  const {getWeatherController} = require('./controllers/weather')
  const {getMoviesController} = require('./controllers/movies')
  
  
  //routers
  server.get('/', (request,response) =>   response.send('am a Live .. : )'))
  server.get('/weather/:lon/:lat',getWeatherController)
  server.get('/movies/:query', getMoviesController) 
  
  
  const port = process.env.PORT || 3001
  server.listen(port, () => console.log(`#################### ~ ${port} ~ ####################`));
  