-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharquivos.txt
25 lines (19 loc) · 954 Bytes
/
arquivos.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//rotas de api
const clienteController = require('./controller/api/ClienteController');
const servicoController = require('./controller/api/ServicoController');
const carroController = require('./controller/api/CarroController');
const marcaController = require('./controller/api/MarcaController');
//rotas web
const clienteWebController = require('./controller/web/ClienteWebController');
const servicoWebController = require('./controller/web/ServicoWebController');
const carroWebController = require('./controller/web/CarroWebController');
const marcaWebController = require('./controller/web/MarcaWebController');
//web
app.use('/', clienteWebController);
app.use('/', servicoWebController);
app.use('/', carroWebController);
app.use('/', marcaWebController);
const Servico = require('./src/model/Servico');
const Cliente = require('./src/model/Cliente');
const Carro = require('./src/model/Carro');
const Marca = require('./src/model/Marca');