API/api.medcify.app/index.js

12 lines
281 B
JavaScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
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));