├── .all-contributorsrc ├── .eslintignore ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ └── feature.yml ├── pull_request_template.md └── workflows │ ├── deploy.yml │ └── pipeline.yml ├── .gitignore ├── .locke.gpg ├── .prettierignore ├── .prettierrc ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── app.js ├── bin └── www ├── config └── index.js ├── constant └── index.js ├── docker-compose.yml ├── example.env ├── middleware ├── __tests__ │ └── rateLimit.test.js ├── authenticate.js ├── multer.js ├── rateLimit.js ├── sentry.js └── validator.js ├── model ├── account.js ├── answer.js ├── bookmark.js ├── comment.js ├── index.js ├── media.js ├── mentor.js ├── post.js ├── question.js ├── schemas │ └── index.js ├── student.js ├── tag.js ├── token.js └── track.js ├── nodemon.json ├── package.json ├── public └── favicon.ico ├── routes └── index.js ├── seeders └── trackSeeder.js ├── src ├── accounts │ ├── __tests__ │ │ ├── accounts.mentors.test.js │ │ ├── accounts.students.test.js │ │ ├── deleteAccount.test.js │ │ └── profilePicture.test.js │ ├── accountsController.js │ ├── accountsService.js │ ├── accountsValidator.js │ └── index.js ├── answers │ ├── __tests__ │ │ └── answer.test.js │ ├── answersController.js │ ├── answersService.js │ ├── answersValidator.js │ └── index.js ├── auth │ ├── __tests__ │ │ ├── auth.mentor.reg.test.js │ │ ├── auth.student.reg.test.js │ │ └── logout.test.js │ ├── authController.js │ ├── authService.js │ ├── authValidator.js │ └── index.js ├── bookmarks │ ├── __tests__ │ │ └── bookmarks.test.js │ ├── bookmarksController.js │ ├── bookmarksService.js │ ├── bookmarksValidator.js │ └── index.js ├── comments │ ├── __tests__ │ │ └── comments.test.js │ ├── commentsController.js │ ├── commentsService.js │ ├── commentsValidator.js │ └── index.js ├── common │ ├── apiFeatures.js │ ├── cache │ │ ├── cacheService.js │ │ └── index.js │ ├── index.js │ ├── media │ │ ├── index.js │ │ └── providers │ │ │ ├── cloudinaryService.js │ │ │ └── index.js │ ├── pagination │ │ └── paginationSchema.js │ ├── search │ │ └── searchSchema.js │ └── validator.js ├── docs │ ├── endpoints.yaml │ └── index.js ├── mailer │ ├── mailerService.js │ └── templates │ │ ├── emailVerification.hbs │ │ └── passwordReset.hbs ├── posts │ ├── __tests__ │ │ └── posts.test.js │ ├── index.js │ ├── postsController.js │ ├── postsService.js │ └── postsValidator.js ├── questions │ ├── __tests__ │ │ └── questions.test.js │ ├── index.js │ ├── questionsController.js │ ├── questionsService.js │ └── questionsValidator.js ├── tags │ ├── __tests__ │ │ └── tags.test.js │ ├── index.js │ ├── tagsController.js │ ├── tagsService.js │ └── tagsValidator.js ├── token │ └── tokenService.js └── tracks │ ├── __tests__ │ └── tracks.test.js │ ├── index.js │ ├── tracksController.js │ └── tracksService.js ├── test ├── fixtures │ ├── accounts.json │ ├── answers.json │ ├── base64Image.txt │ ├── base64Imagegreaterthan500kb.txt │ ├── bookmarks.json │ ├── comments.json │ ├── mentors.json │ ├── posts.json │ ├── questions.json │ ├── students.json │ ├── testFile.txt │ ├── testImage1.jpg │ └── testImage2.jpg ├── index.js ├── test.db.js ├── testHelper.js └── testUtils.js └── utils ├── customError.js ├── db.js ├── errorHandler.js ├── helper.js ├── index.js ├── logger.js └── responseHandler.js /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/.github/ISSUE_TEMPLATE/bug-report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/.github/ISSUE_TEMPLATE/feature.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/pipeline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/.github/workflows/pipeline.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/.gitignore -------------------------------------------------------------------------------- /.locke.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/.locke.gpg -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Ignore artifacts: 2 | build 3 | coverage 4 | .github 5 | package-lock.json 6 | README.md -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/.prettierrc -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/README.md -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/app.js -------------------------------------------------------------------------------- /bin/www: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/bin/www -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/config/index.js -------------------------------------------------------------------------------- /constant/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/constant/index.js -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /example.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/example.env -------------------------------------------------------------------------------- /middleware/__tests__/rateLimit.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/middleware/__tests__/rateLimit.test.js -------------------------------------------------------------------------------- /middleware/authenticate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/middleware/authenticate.js -------------------------------------------------------------------------------- /middleware/multer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/middleware/multer.js -------------------------------------------------------------------------------- /middleware/rateLimit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/middleware/rateLimit.js -------------------------------------------------------------------------------- /middleware/sentry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/middleware/sentry.js -------------------------------------------------------------------------------- /middleware/validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/middleware/validator.js -------------------------------------------------------------------------------- /model/account.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/account.js -------------------------------------------------------------------------------- /model/answer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/answer.js -------------------------------------------------------------------------------- /model/bookmark.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/bookmark.js -------------------------------------------------------------------------------- /model/comment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/comment.js -------------------------------------------------------------------------------- /model/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/index.js -------------------------------------------------------------------------------- /model/media.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/media.js -------------------------------------------------------------------------------- /model/mentor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/mentor.js -------------------------------------------------------------------------------- /model/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/post.js -------------------------------------------------------------------------------- /model/question.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/question.js -------------------------------------------------------------------------------- /model/schemas/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/schemas/index.js -------------------------------------------------------------------------------- /model/student.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/student.js -------------------------------------------------------------------------------- /model/tag.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/tag.js -------------------------------------------------------------------------------- /model/token.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/token.js -------------------------------------------------------------------------------- /model/track.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/model/track.js -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "ext": "js mjs json yml yaml" 3 | } 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/routes/index.js -------------------------------------------------------------------------------- /seeders/trackSeeder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/seeders/trackSeeder.js -------------------------------------------------------------------------------- /src/accounts/__tests__/accounts.mentors.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/accounts/__tests__/accounts.mentors.test.js -------------------------------------------------------------------------------- /src/accounts/__tests__/accounts.students.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/accounts/__tests__/accounts.students.test.js -------------------------------------------------------------------------------- /src/accounts/__tests__/deleteAccount.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/accounts/__tests__/deleteAccount.test.js -------------------------------------------------------------------------------- /src/accounts/__tests__/profilePicture.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/accounts/__tests__/profilePicture.test.js -------------------------------------------------------------------------------- /src/accounts/accountsController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/accounts/accountsController.js -------------------------------------------------------------------------------- /src/accounts/accountsService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/accounts/accountsService.js -------------------------------------------------------------------------------- /src/accounts/accountsValidator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/accounts/accountsValidator.js -------------------------------------------------------------------------------- /src/accounts/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/accounts/index.js -------------------------------------------------------------------------------- /src/answers/__tests__/answer.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/answers/__tests__/answer.test.js -------------------------------------------------------------------------------- /src/answers/answersController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/answers/answersController.js -------------------------------------------------------------------------------- /src/answers/answersService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/answers/answersService.js -------------------------------------------------------------------------------- /src/answers/answersValidator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/answers/answersValidator.js -------------------------------------------------------------------------------- /src/answers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/answers/index.js -------------------------------------------------------------------------------- /src/auth/__tests__/auth.mentor.reg.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/auth/__tests__/auth.mentor.reg.test.js -------------------------------------------------------------------------------- /src/auth/__tests__/auth.student.reg.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/auth/__tests__/auth.student.reg.test.js -------------------------------------------------------------------------------- /src/auth/__tests__/logout.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/auth/__tests__/logout.test.js -------------------------------------------------------------------------------- /src/auth/authController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/auth/authController.js -------------------------------------------------------------------------------- /src/auth/authService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/auth/authService.js -------------------------------------------------------------------------------- /src/auth/authValidator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/auth/authValidator.js -------------------------------------------------------------------------------- /src/auth/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/auth/index.js -------------------------------------------------------------------------------- /src/bookmarks/__tests__/bookmarks.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/bookmarks/__tests__/bookmarks.test.js -------------------------------------------------------------------------------- /src/bookmarks/bookmarksController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/bookmarks/bookmarksController.js -------------------------------------------------------------------------------- /src/bookmarks/bookmarksService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/bookmarks/bookmarksService.js -------------------------------------------------------------------------------- /src/bookmarks/bookmarksValidator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/bookmarks/bookmarksValidator.js -------------------------------------------------------------------------------- /src/bookmarks/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/bookmarks/index.js -------------------------------------------------------------------------------- /src/comments/__tests__/comments.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/comments/__tests__/comments.test.js -------------------------------------------------------------------------------- /src/comments/commentsController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/comments/commentsController.js -------------------------------------------------------------------------------- /src/comments/commentsService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/comments/commentsService.js -------------------------------------------------------------------------------- /src/comments/commentsValidator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/comments/commentsValidator.js -------------------------------------------------------------------------------- /src/comments/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/comments/index.js -------------------------------------------------------------------------------- /src/common/apiFeatures.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/common/apiFeatures.js -------------------------------------------------------------------------------- /src/common/cache/cacheService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/common/cache/cacheService.js -------------------------------------------------------------------------------- /src/common/cache/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./cacheService'); 2 | -------------------------------------------------------------------------------- /src/common/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/common/index.js -------------------------------------------------------------------------------- /src/common/media/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/common/media/index.js -------------------------------------------------------------------------------- /src/common/media/providers/cloudinaryService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/common/media/providers/cloudinaryService.js -------------------------------------------------------------------------------- /src/common/media/providers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/common/media/providers/index.js -------------------------------------------------------------------------------- /src/common/pagination/paginationSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/common/pagination/paginationSchema.js -------------------------------------------------------------------------------- /src/common/search/searchSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/common/search/searchSchema.js -------------------------------------------------------------------------------- /src/common/validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/common/validator.js -------------------------------------------------------------------------------- /src/docs/endpoints.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/docs/endpoints.yaml -------------------------------------------------------------------------------- /src/docs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/docs/index.js -------------------------------------------------------------------------------- /src/mailer/mailerService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/mailer/mailerService.js -------------------------------------------------------------------------------- /src/mailer/templates/emailVerification.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/mailer/templates/emailVerification.hbs -------------------------------------------------------------------------------- /src/mailer/templates/passwordReset.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/mailer/templates/passwordReset.hbs -------------------------------------------------------------------------------- /src/posts/__tests__/posts.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/posts/__tests__/posts.test.js -------------------------------------------------------------------------------- /src/posts/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/posts/index.js -------------------------------------------------------------------------------- /src/posts/postsController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/posts/postsController.js -------------------------------------------------------------------------------- /src/posts/postsService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/posts/postsService.js -------------------------------------------------------------------------------- /src/posts/postsValidator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/posts/postsValidator.js -------------------------------------------------------------------------------- /src/questions/__tests__/questions.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/questions/__tests__/questions.test.js -------------------------------------------------------------------------------- /src/questions/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/questions/index.js -------------------------------------------------------------------------------- /src/questions/questionsController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/questions/questionsController.js -------------------------------------------------------------------------------- /src/questions/questionsService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/questions/questionsService.js -------------------------------------------------------------------------------- /src/questions/questionsValidator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/questions/questionsValidator.js -------------------------------------------------------------------------------- /src/tags/__tests__/tags.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/tags/__tests__/tags.test.js -------------------------------------------------------------------------------- /src/tags/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/tags/index.js -------------------------------------------------------------------------------- /src/tags/tagsController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/tags/tagsController.js -------------------------------------------------------------------------------- /src/tags/tagsService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/tags/tagsService.js -------------------------------------------------------------------------------- /src/tags/tagsValidator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/tags/tagsValidator.js -------------------------------------------------------------------------------- /src/token/tokenService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/token/tokenService.js -------------------------------------------------------------------------------- /src/tracks/__tests__/tracks.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/tracks/__tests__/tracks.test.js -------------------------------------------------------------------------------- /src/tracks/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/tracks/index.js -------------------------------------------------------------------------------- /src/tracks/tracksController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/tracks/tracksController.js -------------------------------------------------------------------------------- /src/tracks/tracksService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/src/tracks/tracksService.js -------------------------------------------------------------------------------- /test/fixtures/accounts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/fixtures/accounts.json -------------------------------------------------------------------------------- /test/fixtures/answers.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/fixtures/answers.json -------------------------------------------------------------------------------- /test/fixtures/base64Image.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/fixtures/base64Image.txt -------------------------------------------------------------------------------- /test/fixtures/base64Imagegreaterthan500kb.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/fixtures/base64Imagegreaterthan500kb.txt -------------------------------------------------------------------------------- /test/fixtures/bookmarks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/fixtures/bookmarks.json -------------------------------------------------------------------------------- /test/fixtures/comments.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/fixtures/comments.json -------------------------------------------------------------------------------- /test/fixtures/mentors.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/fixtures/mentors.json -------------------------------------------------------------------------------- /test/fixtures/posts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/fixtures/posts.json -------------------------------------------------------------------------------- /test/fixtures/questions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/fixtures/questions.json -------------------------------------------------------------------------------- /test/fixtures/students.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/fixtures/students.json -------------------------------------------------------------------------------- /test/fixtures/testFile.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/testImage1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/fixtures/testImage1.jpg -------------------------------------------------------------------------------- /test/fixtures/testImage2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/fixtures/testImage2.jpg -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/index.js -------------------------------------------------------------------------------- /test/test.db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/test.db.js -------------------------------------------------------------------------------- /test/testHelper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/testHelper.js -------------------------------------------------------------------------------- /test/testUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/test/testUtils.js -------------------------------------------------------------------------------- /utils/customError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/utils/customError.js -------------------------------------------------------------------------------- /utils/db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/utils/db.js -------------------------------------------------------------------------------- /utils/errorHandler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/utils/errorHandler.js -------------------------------------------------------------------------------- /utils/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/utils/helper.js -------------------------------------------------------------------------------- /utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/utils/index.js -------------------------------------------------------------------------------- /utils/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/utils/logger.js -------------------------------------------------------------------------------- /utils/responseHandler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AltCamp/altcampv1-backend/HEAD/utils/responseHandler.js --------------------------------------------------------------------------------