const express = require('express');
const path = require('path');
const app = express();
const port = 3000;
app.use('/app',express.static(path.join(__dirname, '..', 'app')));
app.get('/', (req, res) => {
res.sendFile(path.join(__dirname, '..', 'index.html'));
});
app.listen(port, () => {
console.log('server is running');
});