import express from "express";
import path from 'path';

const app = express();
const PORT = process.env.PORT || 5000;

app.get('/',(req,res)=>{
    res.sendFile(path.resolve('index.html'));  
})

app.listen(PORT,()=> console.log('server is running'));