chore: reorganize client files for docker

This commit is contained in:
Danny Avila 2023-03-06 10:47:06 -05:00
parent affbaaf1a5
commit f5e079742a
93 changed files with 178726 additions and 1 deletions

View file

@ -5,7 +5,7 @@ const cors = require('cors');
const routes = require('./routes');
const app = express();
const port = process.env.PORT || 3050;
const projectPath = path.join(__dirname, '..', '..');
const projectPath = path.join(__dirname, '..', '..', 'client');
dbConnect().then(() => console.log('Connected to MongoDB'));
app.use(cors());