How do I put routes in separate files?
var express = require('express');
var App = express.Router();
var Notas = require('../api/notas');
App.route('/notas')
.get(Notas.read)
.post(Notas.create);
App.route('/notas/:id')
.get(Notas.profile)
.put(Notas.update)
.delete(Notas.delete);
Is it good to separate the routes?