add express server to replit code example
Example: express server replit
const express = require('express');
const bodyParser = require('body-parser');
const app = express();
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));
app.use(express.static('public'));
app.get('/', (req, res) => {
res.send('Hello Express app');
});
app.listen(3000, () => console.log('server started'));