├── .env.example ├── .eslintrc.cjs ├── .github └── workflows │ └── prettier.yml ├── .gitignore ├── .prettierrc.json ├── README.md ├── package.json ├── src ├── controllers │ ├── bookControllers.ts │ ├── chapterControllers.ts │ └── hadithControllers.ts ├── helpers │ ├── createIndexes.ts │ └── remove_id.ts ├── index.ts ├── middlewares │ └── logger.ts ├── mongodb.ts └── routes │ ├── book.ts │ ├── chapter.ts │ ├── docs.ts │ ├── hadith.ts │ └── notFound.ts ├── tsconfig.json └── types └── index.d.ts /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.github/workflows/prettier.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/.github/workflows/prettier.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/package.json -------------------------------------------------------------------------------- /src/controllers/bookControllers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/controllers/bookControllers.ts -------------------------------------------------------------------------------- /src/controllers/chapterControllers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/controllers/chapterControllers.ts -------------------------------------------------------------------------------- /src/controllers/hadithControllers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/controllers/hadithControllers.ts -------------------------------------------------------------------------------- /src/helpers/createIndexes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/helpers/createIndexes.ts -------------------------------------------------------------------------------- /src/helpers/remove_id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/helpers/remove_id.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/middlewares/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/middlewares/logger.ts -------------------------------------------------------------------------------- /src/mongodb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/mongodb.ts -------------------------------------------------------------------------------- /src/routes/book.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/routes/book.ts -------------------------------------------------------------------------------- /src/routes/chapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/routes/chapter.ts -------------------------------------------------------------------------------- /src/routes/docs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/routes/docs.ts -------------------------------------------------------------------------------- /src/routes/hadith.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/routes/hadith.ts -------------------------------------------------------------------------------- /src/routes/notFound.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/src/routes/notFound.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AhmedBaset/hadith-api/HEAD/types/index.d.ts --------------------------------------------------------------------------------