OCA_Backend/api/index.js
2022-01-22 19:06:44 +05:30

12 lines
238 B
JavaScript

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'));