OCA_Backend/api/index.js

12 lines
238 B
JavaScript
Raw Permalink Normal View History

2022-01-22 13:36:44 +00:00
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'));