1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-25 18:28:07 +02:00

react-express-mongodb: rename server to backend

The goal here is to keep the same structure than the other examples.
Also, considering that it has a "frontend" folder, the equivalent for
the server should be "backend".

Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
This commit is contained in:
Jérémie Drouet 2020-05-12 15:05:18 +02:00 committed by Guillaume Lours
parent e29f0d1c54
commit be8875c9b6
16 changed files with 8 additions and 8 deletions

View file

@ -0,0 +1,9 @@
const path = require('path');
const filename = path.join(__dirname, '../../logs/project.log');
//you can change format according to you
const log = require('simple-node-logger').createSimpleLogger( {
logFilePath:filename,
timestampFormat:'YYYY-MM-DD HH:mm:ss'}
);
module.exports = {log};