text: const express = require('express')
  const passport = require('passport')
  const dotenv = require('dotenv')
  dotenv.config()
  const db = require('./db')
  db.connect().then((res)=>{console.log(res)})
  require('./utils/passport')
  require('./utils/razorpay')
  const app = express()
  app.use(express.json())
  app.use(passport.initialize())
  
  app.use(require('./routers/apiRoutes/userApiRoutes'))
  app.use(require('./routers/normalRoutes/userNormalRoutes'))
  app.use(require('./routers/apiRoutes/adminApiRoutes'))
  app.use(require('./routers/normalRoutes/adminNormalRoues'))
  app.use(require('./routers/apiRoutes/trainerApiRoutes'))
  app.use(require('./routers/normalRoutes/trainerNormalRoutes'))
  app.use(require('./routers/apiRoutes/productApiRoutes'))
  app.use(require('./routers/normalRoutes/productNormalRoutes'))
  app.use(require('./routers/apiRoutes/commonApiRoutes'))
  app.use(require('./routers/apiRoutes/gymsApiRoutes'))
  app.use(require('./routers/normalRoutes/gymNormalRoutes'))
  app.use(require('./routers/apiRoutes/membershipApiRoutes'))
  app.use(require('./routers/normalRoutes/membershipNormalRoutes'))
  app.use(require('./routers/apiRoutes/reviewApiRoutes'))
  app.use(require('./routers/normalRoutes/reviewNormalRoutes'))
  app.use(require('./routers/apiRoutes/orderApiRoutes'))
  app.use(require('./routers/normalRoutes/workoutNormalRoutes'))
  app.use(require('./routers/normalRoutes/dietNormalRoutes'))
  app.use(require('./routers/apiRoutes/cartApiRoutes'))
  app.use(require('./routers/normalRoutes/cartNormalRoutes'))
  
  app.get('/', (_, res)=>{res.status(200).json({Greetings: 'Welcome to Perfect-fitness....!!!!!!!' })})
  
  module.exports = app