├── .firebaserc ├── .gitignore ├── LICENSE ├── README.md ├── firebase.json ├── firestore.indexes.json ├── firestore.rules └── functions ├── .snyk ├── dist └── index.js ├── package.json ├── src ├── api │ └── emailAPI.ts ├── data │ ├── httpStatusCode.ts │ └── index.ts ├── domain │ ├── authorize │ │ ├── Verification.ts │ │ ├── index.ts │ │ ├── loginUser.ts │ │ ├── oauthType.ts │ │ ├── registerUserResult.ts │ │ └── userStateType.ts │ ├── circles │ │ ├── circle.ts │ │ ├── index.ts │ │ └── userTie.ts │ ├── comments │ │ ├── comment.ts │ │ └── index.ts │ ├── common │ │ ├── baseDomain.ts │ │ ├── email.ts │ │ ├── feed.ts │ │ ├── feedType.ts │ │ ├── index.ts │ │ └── socialError.ts │ ├── graphs │ │ ├── graph.ts │ │ └── index.ts │ ├── imageGallery │ │ ├── image.ts │ │ └── index.ts │ ├── notifications │ │ ├── index.ts │ │ └── notification.ts │ ├── posts │ │ ├── index.ts │ │ └── post.ts │ ├── users │ │ ├── index.ts │ │ ├── profile.ts │ │ ├── user.ts │ │ └── userProvider.ts │ └── votes │ │ ├── index.ts │ │ └── vote.ts ├── index.ts └── services │ ├── authorize │ ├── authorizeService.ts │ └── publicAuthService.ts │ ├── comments │ └── commentService.ts │ ├── common │ └── mailService.ts │ ├── posts │ └── postService.ts │ └── users │ └── userService.ts ├── tsconfig.json ├── tslint.json ├── webpack.config.js └── yarn.lock /.firebaserc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/.firebaserc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/README.md -------------------------------------------------------------------------------- /firebase.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/firebase.json -------------------------------------------------------------------------------- /firestore.indexes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/firestore.indexes.json -------------------------------------------------------------------------------- /firestore.rules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/firestore.rules -------------------------------------------------------------------------------- /functions/.snyk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/.snyk -------------------------------------------------------------------------------- /functions/dist/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/dist/index.js -------------------------------------------------------------------------------- /functions/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/package.json -------------------------------------------------------------------------------- /functions/src/api/emailAPI.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/api/emailAPI.ts -------------------------------------------------------------------------------- /functions/src/data/httpStatusCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/data/httpStatusCode.ts -------------------------------------------------------------------------------- /functions/src/data/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/data/index.ts -------------------------------------------------------------------------------- /functions/src/domain/authorize/Verification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/authorize/Verification.ts -------------------------------------------------------------------------------- /functions/src/domain/authorize/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/authorize/index.ts -------------------------------------------------------------------------------- /functions/src/domain/authorize/loginUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/authorize/loginUser.ts -------------------------------------------------------------------------------- /functions/src/domain/authorize/oauthType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/authorize/oauthType.ts -------------------------------------------------------------------------------- /functions/src/domain/authorize/registerUserResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/authorize/registerUserResult.ts -------------------------------------------------------------------------------- /functions/src/domain/authorize/userStateType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/authorize/userStateType.ts -------------------------------------------------------------------------------- /functions/src/domain/circles/circle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/circles/circle.ts -------------------------------------------------------------------------------- /functions/src/domain/circles/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/circles/index.ts -------------------------------------------------------------------------------- /functions/src/domain/circles/userTie.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/circles/userTie.ts -------------------------------------------------------------------------------- /functions/src/domain/comments/comment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/comments/comment.ts -------------------------------------------------------------------------------- /functions/src/domain/comments/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/comments/index.ts -------------------------------------------------------------------------------- /functions/src/domain/common/baseDomain.ts: -------------------------------------------------------------------------------- 1 | 2 | export class BaseDomain{ 3 | 4 | } -------------------------------------------------------------------------------- /functions/src/domain/common/email.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/common/email.ts -------------------------------------------------------------------------------- /functions/src/domain/common/feed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/common/feed.ts -------------------------------------------------------------------------------- /functions/src/domain/common/feedType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/common/feedType.ts -------------------------------------------------------------------------------- /functions/src/domain/common/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/common/index.ts -------------------------------------------------------------------------------- /functions/src/domain/common/socialError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/common/socialError.ts -------------------------------------------------------------------------------- /functions/src/domain/graphs/graph.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/graphs/graph.ts -------------------------------------------------------------------------------- /functions/src/domain/graphs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/graphs/index.ts -------------------------------------------------------------------------------- /functions/src/domain/imageGallery/image.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/imageGallery/image.ts -------------------------------------------------------------------------------- /functions/src/domain/imageGallery/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/imageGallery/index.ts -------------------------------------------------------------------------------- /functions/src/domain/notifications/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/notifications/index.ts -------------------------------------------------------------------------------- /functions/src/domain/notifications/notification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/notifications/notification.ts -------------------------------------------------------------------------------- /functions/src/domain/posts/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/posts/index.ts -------------------------------------------------------------------------------- /functions/src/domain/posts/post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/posts/post.ts -------------------------------------------------------------------------------- /functions/src/domain/users/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/users/index.ts -------------------------------------------------------------------------------- /functions/src/domain/users/profile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/users/profile.ts -------------------------------------------------------------------------------- /functions/src/domain/users/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/users/user.ts -------------------------------------------------------------------------------- /functions/src/domain/users/userProvider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/users/userProvider.ts -------------------------------------------------------------------------------- /functions/src/domain/votes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/votes/index.ts -------------------------------------------------------------------------------- /functions/src/domain/votes/vote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/domain/votes/vote.ts -------------------------------------------------------------------------------- /functions/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/index.ts -------------------------------------------------------------------------------- /functions/src/services/authorize/authorizeService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/services/authorize/authorizeService.ts -------------------------------------------------------------------------------- /functions/src/services/authorize/publicAuthService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/services/authorize/publicAuthService.ts -------------------------------------------------------------------------------- /functions/src/services/comments/commentService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/services/comments/commentService.ts -------------------------------------------------------------------------------- /functions/src/services/common/mailService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/services/common/mailService.ts -------------------------------------------------------------------------------- /functions/src/services/posts/postService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/services/posts/postService.ts -------------------------------------------------------------------------------- /functions/src/services/users/userService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/src/services/users/userService.ts -------------------------------------------------------------------------------- /functions/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/tsconfig.json -------------------------------------------------------------------------------- /functions/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/tslint.json -------------------------------------------------------------------------------- /functions/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/webpack.config.js -------------------------------------------------------------------------------- /functions/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qolzam/firestore-social-backend/HEAD/functions/yarn.lock --------------------------------------------------------------------------------