File Structure
📦Root Dir
┣ 📂core
┃ ┣ 📂config
┃ ┃ ┣ 📜dbConnection.js
┃ ┃ ┗ 📜site.config.json.sample
┃ ┣ 📂controllers
┃ ┃ ┣ 📂site
┃ ┃ ┃ ┗ 📜SystemController.js
┃ ┃ ┗ 📂user
┃ ┃ ┗ 📜AuthController.js
┃ ┣ 📂helpers
┃ ┃ ┣ 📜FileHandler.js
┃ ┃ ┣ 📜isUserExist.js
┃ ┃ ┣ 📜mailFunction.js
┃ ┃ ┗ 📜OTPGenerate.js
┃ ┣ 📂logs
┃ ┃ ┣ 📜app.log
┃ ┃ ┣ 📜error.log
┃ ┃ ┗ 📜rejections.log
┃ ┣ 📂middleware
┃ ┃ ┣ 📜APP_KEY.js
┃ ┃ ┣ 📜checkAuthenticated.js
┃ ┃ ┣ 📜isActive.js
┃ ┃ ┣ 📜isAuth.js
┃ ┃ ┣ 📜ProtectApiRoutes.js
┃ ┃ ┗ 📜Role.js
┃ ┣ 📂models
┃ ┃ ┣ 📜ResetPasswordSchema.js
┃ ┃ ┣ 📜SiteConfig.js
┃ ┃ ┣ 📜TokenSchema.js
┃ ┃ ┗ 📜UserSchema.js
┃ ┣ 📂routes
┃ ┃ ┣ 📂api
┃ ┃ ┃ ┣ 📜adminRoutes.js
┃ ┃ ┃ ┗ 📜userRoutes.js
┃ ┃ ┗ 📜index.js
┃ ┣ 📂services
┃ ┃ ┣ 📜cache.js
┃ ┃ ┣ 📜clusters.js
┃ ┃ ┣ 📜mobile-services.js
┃ ┃ ┣ 📜oauth-google.config.js
┃ ┃ ┗ 📜oauth2.js
┃ ┣ 📂utils
┃ ┃ ┣ 📂emailTemplate
┃ ┃ ┃ ┣ 📜loginDetected.handlebars
┃ ┃ ┃ ┣ 📜passwordChanged.handlebars
┃ ┃ ┃ ┣ 📜resetPassword.handlebars
┃ ┃ ┃ ┣ 📜upgradePlan.handlebars
┃ ┃ ┃ ┣ 📜verifyAccount.handlebars
┃ ┃ ┃ ┗ 📜welcomeMail.handlebars
┃ ┃ ┣ 📜DTO.js
┃ ┃ ┣ 📜encryption.js
┃ ┃ ┣ 📜info.js
┃ ┃ ┗ 📜logger.js
┃ ┗ 📜app.js
┣ 📂node_modules
┣ 📂public_html
┃ ┣ 📂mail_templates
┃ ┃ ┣ 📂forgetPassword
┃ ┃ ┣ 📂login
┃ ┃ ┣ 📂resetPassword
┃ ┃ ┣ 📂upgradePlan
┃ ┃ ┣ 📂verifyAccount
┃ ┃ ┗ 📂welcome
┃ ┣ 📜favicon.ico
┃ ┗ 📜index.html
┣ 📜.gitignore
┣ 📜index.js
┣ 📜package-lock.json
┣ 📜package.json
┗ 📜readme.md