const express=require('express'); const routes=require('./routes/api'); var dotenv = require('dotenv'); const app=express(); app.use('/',routes); dotenv.config(); app.listen(process.env.PORT, ()=>console.log('Server Up Running'));