├── .gitignore ├── .vercelignore ├── README.md ├── config └── database.js ├── jobs └── scheduledJobs.js ├── models ├── AppSettings.js ├── Customer.js ├── Measurement.js ├── Notification.js ├── Order.js └── User.js ├── package.json ├── routes ├── admin.js ├── auth.js ├── customers.js ├── helpSupport.js ├── home.js ├── measurements.js ├── notifications.js ├── orders.js ├── payment.js ├── settings.js └── subscription.js ├── scripts ├── createAdmin.js ├── createUser.js ├── fixCustomersWithoutUserId.js └── initAppSettings.js ├── server.js ├── services ├── pushNotificationService.js └── s3Service.js ├── setup-env.sh └── views ├── delete-account-confirm.ejs ├── delete-account-form.ejs ├── delete-account-result.ejs ├── payment-result.ejs └── privacy-policy.ejs /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.vercelignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/.vercelignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/README.md -------------------------------------------------------------------------------- /config/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/config/database.js -------------------------------------------------------------------------------- /jobs/scheduledJobs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/jobs/scheduledJobs.js -------------------------------------------------------------------------------- /models/AppSettings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/models/AppSettings.js -------------------------------------------------------------------------------- /models/Customer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/models/Customer.js -------------------------------------------------------------------------------- /models/Measurement.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/models/Measurement.js -------------------------------------------------------------------------------- /models/Notification.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/models/Notification.js -------------------------------------------------------------------------------- /models/Order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/models/Order.js -------------------------------------------------------------------------------- /models/User.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/models/User.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/package.json -------------------------------------------------------------------------------- /routes/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/routes/admin.js -------------------------------------------------------------------------------- /routes/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/routes/auth.js -------------------------------------------------------------------------------- /routes/customers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/routes/customers.js -------------------------------------------------------------------------------- /routes/helpSupport.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/routes/helpSupport.js -------------------------------------------------------------------------------- /routes/home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/routes/home.js -------------------------------------------------------------------------------- /routes/measurements.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/routes/measurements.js -------------------------------------------------------------------------------- /routes/notifications.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/routes/notifications.js -------------------------------------------------------------------------------- /routes/orders.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/routes/orders.js -------------------------------------------------------------------------------- /routes/payment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/routes/payment.js -------------------------------------------------------------------------------- /routes/settings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/routes/settings.js -------------------------------------------------------------------------------- /routes/subscription.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/routes/subscription.js -------------------------------------------------------------------------------- /scripts/createAdmin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/scripts/createAdmin.js -------------------------------------------------------------------------------- /scripts/createUser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/scripts/createUser.js -------------------------------------------------------------------------------- /scripts/fixCustomersWithoutUserId.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/scripts/fixCustomersWithoutUserId.js -------------------------------------------------------------------------------- /scripts/initAppSettings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/scripts/initAppSettings.js -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/server.js -------------------------------------------------------------------------------- /services/pushNotificationService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/services/pushNotificationService.js -------------------------------------------------------------------------------- /services/s3Service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/services/s3Service.js -------------------------------------------------------------------------------- /setup-env.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/setup-env.sh -------------------------------------------------------------------------------- /views/delete-account-confirm.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/views/delete-account-confirm.ejs -------------------------------------------------------------------------------- /views/delete-account-form.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/views/delete-account-form.ejs -------------------------------------------------------------------------------- /views/delete-account-result.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/views/delete-account-result.ejs -------------------------------------------------------------------------------- /views/payment-result.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/views/payment-result.ejs -------------------------------------------------------------------------------- /views/privacy-policy.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pchukwuemeka424/smarttailor-api/HEAD/views/privacy-policy.ejs --------------------------------------------------------------------------------