12 lines
281 B
JavaScript
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));
|