18 lines
629 B
JavaScript
18 lines
629 B
JavaScript
|
const express = require("express");
|
||
|
|
||
|
// const authRouter = require('../services/auth/authRouter');
|
||
|
// const usersRouter = require('../services/users/usersRouter');
|
||
|
// const sessionsRouter = require('../services/sessions/sessionsRouter');
|
||
|
// const dailyAveragesRouter = require('../services/dailyAverages/dailyAveragesRouter');
|
||
|
|
||
|
const server = express();
|
||
|
|
||
|
server.use(express.json());
|
||
|
|
||
|
// server.use('/api/auth', authRouter);
|
||
|
// server.use('/api/users', authenticate, usersRouter);
|
||
|
// server.use('/api/users', authenticate, sessionsRouter);
|
||
|
// server.use('/api/users', authenticate, dailyAveragesRouter);
|
||
|
|
||
|
module.exports = server;
|