{"size": 541, "ext": "js", "max_stars_repo_path": "app/routes/web.js", "max_stars_repo_name": "jorgezeza/EstudoNode", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/routes/web.js", "max_issues_repo_name": "jorgezeza/EstudoNode", "max_issues_repo_issues_event_min_datetime": "2017-12-12T02:14:39.000Z", "max_issues_repo_issues_event_max_datetime": "2017-12-14T12:36:54.000Z", "max_forks_repo_path": "app/routes/web.js", "max_forks_repo_name": "jorgezeza/EstudoNode", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 21.64, "max_line_length": 68, "alphanum_fraction": 0.6672828096}

var clienteController = require('../controllers/clienteController');

module.exports = function(app){
    
app.get('/contato', function(req,res){
    res.render('site/contato.ejs');
});

app.get('/home', function(req,res){
  // console.log(clienteModel.all());
  clienteController.index(req,res);  
});


app.post('/home', function(req,res){
  // console.log(clienteModel.all());
  clienteController.store(req,res);  
});

app.get('/detalhe/:id', function(req,res){
//   console.log(req.params.id);
  clienteController.show(req,res);
});
};