API/api.medcify.app/index.js
2022-09-26 11:41:44 +05:30

12 lines
281 B
JavaScript

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