├── .gitignore ├── controllers ├── admin-controller.js ├── collection-controller.js ├── student-controller.js └── super-admin-controller.js ├── index.js ├── middlewares ├── isAdmin.js ├── isExisted.js ├── isSuperAdmin.js ├── uploadAudio.js └── uploadImage.js ├── models ├── admin-model.js ├── collection-model.js ├── student-model.js └── super-admin-model.js ├── package.json ├── routes ├── admin-routes.js ├── collection-routes.js ├── student-routes.js └── super-admin-routes.js └── swagger.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env 3 | uploads 4 | -------------------------------------------------------------------------------- /controllers/admin-controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/controllers/admin-controller.js -------------------------------------------------------------------------------- /controllers/collection-controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/controllers/collection-controller.js -------------------------------------------------------------------------------- /controllers/student-controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/controllers/student-controller.js -------------------------------------------------------------------------------- /controllers/super-admin-controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/controllers/super-admin-controller.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/index.js -------------------------------------------------------------------------------- /middlewares/isAdmin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/middlewares/isAdmin.js -------------------------------------------------------------------------------- /middlewares/isExisted.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/middlewares/isExisted.js -------------------------------------------------------------------------------- /middlewares/isSuperAdmin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/middlewares/isSuperAdmin.js -------------------------------------------------------------------------------- /middlewares/uploadAudio.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/middlewares/uploadAudio.js -------------------------------------------------------------------------------- /middlewares/uploadImage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/middlewares/uploadImage.js -------------------------------------------------------------------------------- /models/admin-model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/models/admin-model.js -------------------------------------------------------------------------------- /models/collection-model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/models/collection-model.js -------------------------------------------------------------------------------- /models/student-model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/models/student-model.js -------------------------------------------------------------------------------- /models/super-admin-model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/models/super-admin-model.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/package.json -------------------------------------------------------------------------------- /routes/admin-routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/routes/admin-routes.js -------------------------------------------------------------------------------- /routes/collection-routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/routes/collection-routes.js -------------------------------------------------------------------------------- /routes/student-routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/routes/student-routes.js -------------------------------------------------------------------------------- /routes/super-admin-routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/routes/super-admin-routes.js -------------------------------------------------------------------------------- /swagger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarbondev/ula-backend/HEAD/swagger.js --------------------------------------------------------------------------------