├── .all-contributorsrc ├── .circleci └── config.yml ├── .dockerignore ├── .env.template ├── .github └── workflows │ └── diagram.yml ├── .gitignore ├── .nvmrc ├── .sequelizerc ├── .vscode ├── launch.json └── tasks.json ├── Dockerfile ├── LICENCE.md ├── README.md ├── diagram.svg ├── docker-compose.yml ├── entrypoint.sh ├── jest.config.js ├── nodemon.json ├── package.json ├── public ├── admin │ └── README.md └── app │ ├── .gitignore │ ├── .prettierrc │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ ├── _redirects │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt │ ├── src │ ├── App.sass │ ├── App.test.tsx │ ├── App.tsx │ ├── assets │ │ ├── img │ │ │ └── logo │ │ │ │ └── brick.png │ │ └── styles │ │ │ └── variables.sass │ ├── config │ │ ├── api.tsx │ │ └── siteMetaData.tsx │ ├── index.css │ ├── index.tsx │ ├── logo.svg │ ├── modules │ │ ├── forum │ │ │ ├── components │ │ │ │ ├── comments │ │ │ │ │ ├── components │ │ │ │ │ │ ├── Editor.tsx │ │ │ │ │ │ └── PostSubmission.tsx │ │ │ │ │ ├── index.js │ │ │ │ │ └── styles │ │ │ │ │ │ ├── Comments.sass │ │ │ │ │ │ ├── Editor.sass │ │ │ │ │ │ └── PostSubmission.sass │ │ │ │ └── posts │ │ │ │ │ ├── filters │ │ │ │ │ ├── components │ │ │ │ │ │ └── PostFilters.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles │ │ │ │ │ │ └── PostFilters.sass │ │ │ │ │ ├── points │ │ │ │ │ ├── assets │ │ │ │ │ │ └── arrow.svg │ │ │ │ │ ├── components │ │ │ │ │ │ ├── PointHover.tsx │ │ │ │ │ │ └── Points.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles │ │ │ │ │ │ ├── Point.sass │ │ │ │ │ │ └── PointHover.sass │ │ │ │ │ ├── post │ │ │ │ │ ├── components │ │ │ │ │ │ ├── PostComment.tsx │ │ │ │ │ │ ├── PostCommentAuthorAndText.tsx │ │ │ │ │ │ ├── PostMeta.tsx │ │ │ │ │ │ └── PostSummary.tsx │ │ │ │ │ ├── index.ts │ │ │ │ │ └── styles │ │ │ │ │ │ ├── PostComment.sass │ │ │ │ │ │ ├── PostMeta.sass │ │ │ │ │ │ └── PostSummary.sass │ │ │ │ │ └── postRow │ │ │ │ │ ├── components │ │ │ │ │ └── PostRow.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles │ │ │ │ │ └── PostRow.sass │ │ │ ├── dtos │ │ │ │ ├── commentDTO.ts │ │ │ │ ├── memberDTO.ts │ │ │ │ └── postDTO.ts │ │ │ ├── hocs │ │ │ │ └── withVoting.tsx │ │ │ ├── models │ │ │ │ ├── Comment.ts │ │ │ │ ├── Member.ts │ │ │ │ └── Post.ts │ │ │ ├── redux │ │ │ │ ├── actionCreators.tsx │ │ │ │ ├── actions.tsx │ │ │ │ ├── index.tsx │ │ │ │ ├── operators │ │ │ │ │ ├── createReplyToComment.tsx │ │ │ │ │ ├── createReplyToPost.tsx │ │ │ │ │ ├── downvoteComment.tsx │ │ │ │ │ ├── downvotePost.tsx │ │ │ │ │ ├── getCommentByCommentId.tsx │ │ │ │ │ ├── getCommentReplies.tsx │ │ │ │ │ ├── getComments.tsx │ │ │ │ │ ├── getPopularPosts.tsx │ │ │ │ │ ├── getPostBySlug.tsx │ │ │ │ │ ├── getRecentPosts.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ ├── submitPost.tsx │ │ │ │ │ ├── upvoteComment.tsx │ │ │ │ │ └── upvotePost.tsx │ │ │ │ ├── reducers.tsx │ │ │ │ └── states.tsx │ │ │ ├── services │ │ │ │ ├── commentService.tsx │ │ │ │ ├── index.tsx │ │ │ │ └── postService.tsx │ │ │ └── utils │ │ │ │ ├── CommentUtil.tsx │ │ │ │ └── PostUtil.ts │ │ └── users │ │ │ ├── components │ │ │ ├── onboarding │ │ │ │ └── onboardTemplate │ │ │ │ │ ├── components │ │ │ │ │ └── OnboardTemplate.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── styles │ │ │ │ │ └── OnboardTemplate.sass │ │ │ └── profileButton │ │ │ │ ├── components │ │ │ │ └── ProfileButton.tsx │ │ │ │ └── index.tsx │ │ │ ├── dtos │ │ │ ├── loginDTO.ts │ │ │ └── userDTO.ts │ │ │ ├── hocs │ │ │ ├── withLoginHandling.tsx │ │ │ ├── withLogoutHandling.tsx │ │ │ └── withUsersService.tsx │ │ │ ├── models │ │ │ ├── tokens.ts │ │ │ └── user.ts │ │ │ ├── redux │ │ │ ├── actionCreators.tsx │ │ │ ├── actions.tsx │ │ │ ├── index.tsx │ │ │ ├── operators │ │ │ │ ├── createUser.tsx │ │ │ │ ├── getUserProfile.tsx │ │ │ │ ├── index.tsx │ │ │ │ ├── login.tsx │ │ │ │ └── logout.tsx │ │ │ ├── reducers.tsx │ │ │ └── states.tsx │ │ │ └── services │ │ │ ├── authService.ts │ │ │ ├── index.ts │ │ │ └── userService.ts │ ├── pages │ │ ├── comment.tsx │ │ ├── discussion.tsx │ │ ├── index.tsx │ │ ├── join.tsx │ │ ├── login.tsx │ │ ├── member.tsx │ │ └── submit.tsx │ ├── react-app-env.d.ts │ ├── serviceWorker.ts │ └── shared │ │ ├── components │ │ ├── button │ │ │ ├── components │ │ │ │ ├── Button.tsx │ │ │ │ └── SubmitButton.tsx │ │ │ ├── index.tsx │ │ │ └── styles │ │ │ │ ├── Button.sass │ │ │ │ └── SubmitButton.sass │ │ ├── header │ │ │ ├── assets │ │ │ │ └── arrow.svg │ │ │ ├── components │ │ │ │ ├── BackNavigation.tsx │ │ │ │ ├── Header.tsx │ │ │ │ └── Logo.tsx │ │ │ ├── index.tsx │ │ │ └── styles │ │ │ │ ├── BackNavigation.sass │ │ │ │ ├── Header.sass │ │ │ │ └── Logo.sass │ │ ├── loader │ │ │ ├── components │ │ │ │ ├── FullPageLoader.tsx │ │ │ │ └── Loader.tsx │ │ │ ├── index.tsx │ │ │ └── styles │ │ │ │ └── FullPageLoader.sass │ │ └── text-input │ │ │ ├── components │ │ │ └── TextInput.tsx │ │ │ ├── index.tsx │ │ │ └── styles │ │ │ └── TextInput.sass │ │ ├── core │ │ ├── Either.ts │ │ └── Result.ts │ │ ├── infra │ │ ├── redux │ │ │ ├── configureStore.tsx │ │ │ └── startupScript.tsx │ │ ├── router │ │ │ ├── AuthenticatedRoute.tsx │ │ │ └── UnauthenticatedRoute.tsx │ │ └── services │ │ │ ├── APIErrorMessage.tsx │ │ │ ├── APIResponse.tsx │ │ │ └── BaseAPI.tsx │ │ ├── layout │ │ ├── Layout.sass │ │ ├── Layout.tsx │ │ └── index.tsx │ │ └── utils │ │ ├── DateUtil.tsx │ │ ├── ReduxUtils.ts │ │ └── TextUtil.tsx │ ├── tsconfig.json │ └── yarn.lock ├── scripts └── db │ ├── create.js │ └── delete.js ├── src ├── config │ ├── auth.ts │ └── index.ts ├── index.ts ├── modules │ ├── forum │ │ ├── domain │ │ │ ├── comment.ts │ │ │ ├── commentDetails.ts │ │ │ ├── commentId.ts │ │ │ ├── commentText.ts │ │ │ ├── commentVote.ts │ │ │ ├── commentVotes.ts │ │ │ ├── comments.ts │ │ │ ├── events │ │ │ │ ├── commentPosted.ts │ │ │ │ ├── commentVotesChanged.ts │ │ │ │ ├── memberCreated.ts │ │ │ │ ├── postCreated.ts │ │ │ │ └── postVotesChanged.ts │ │ │ ├── member.ts │ │ │ ├── memberDetails.ts │ │ │ ├── memberId.ts │ │ │ ├── post.ts │ │ │ ├── postDetails.ts │ │ │ ├── postId.ts │ │ │ ├── postLink.ts │ │ │ ├── postSlug.spec.ts │ │ │ ├── postSlug.ts │ │ │ ├── postText.ts │ │ │ ├── postTitle.ts │ │ │ ├── postType.ts │ │ │ ├── postVote.ts │ │ │ ├── postVotes.ts │ │ │ ├── services │ │ │ │ ├── index.ts │ │ │ │ ├── postService.spec.ts │ │ │ │ └── postService.ts │ │ │ └── vote.ts │ │ ├── dtos │ │ │ ├── commentDTO.ts │ │ │ ├── memberDTO.ts │ │ │ └── postDTO.ts │ │ ├── infra │ │ │ └── http │ │ │ │ └── routes │ │ │ │ ├── comment.ts │ │ │ │ ├── index.ts │ │ │ │ ├── member.ts │ │ │ │ └── post.ts │ │ ├── mappers │ │ │ ├── commentDetailsMap.ts │ │ │ ├── commentMap.ts │ │ │ ├── commentVoteMap.ts │ │ │ ├── memberDetailsMap.ts │ │ │ ├── memberIdMap.ts │ │ │ ├── memberMap.ts │ │ │ ├── postDetailsMap.ts │ │ │ ├── postMap.ts │ │ │ └── postVoteMap.ts │ │ ├── repos │ │ │ ├── commentRepo.ts │ │ │ ├── commentVotesRepo.ts │ │ │ ├── implementations │ │ │ │ ├── commentRepo.ts │ │ │ │ ├── sequelizeCommentVotesRepo.ts │ │ │ │ ├── sequelizeMemberRepo.ts │ │ │ │ ├── sequelizePostRepo.ts │ │ │ │ └── sequelizePostVotesRepo.ts │ │ │ ├── index.ts │ │ │ ├── memberRepo.ts │ │ │ ├── postRepo.ts │ │ │ └── postVotesRepo.ts │ │ ├── subscriptions │ │ │ ├── afterCommentPosted.ts │ │ │ ├── afterCommentVotesChanged.ts │ │ │ ├── afterPostVotesChanged.ts │ │ │ ├── afterUserCreated.ts │ │ │ └── index.ts │ │ └── useCases │ │ │ ├── comments │ │ │ ├── downvoteComment │ │ │ │ ├── DownvoteComment.ts │ │ │ │ ├── DownvoteCommentController.ts │ │ │ │ ├── DownvoteCommentDTO.ts │ │ │ │ ├── DownvoteCommentErrors.ts │ │ │ │ ├── DownvoteCommentResponse.ts │ │ │ │ └── index.ts │ │ │ ├── getCommentByCommentId │ │ │ │ ├── GetCommentByCommentId.ts │ │ │ │ ├── GetCommentByCommentIdController.ts │ │ │ │ ├── GetCommentByCommentIdErrors.ts │ │ │ │ ├── GetCommentByCommentIdRequestDTO.ts │ │ │ │ ├── GetCommentByCommentIdResponseDTO.ts │ │ │ │ └── index.ts │ │ │ ├── getCommentsByPostSlug │ │ │ │ ├── GetCommentsByPostSlug.ts │ │ │ │ ├── GetCommentsByPostSlugController.ts │ │ │ │ ├── GetCommentsByPostSlugErrors.ts │ │ │ │ ├── GetCommentsByPostSlugRequestDTO.ts │ │ │ │ ├── GetCommentsByPostSlugResponseDTO.ts │ │ │ │ └── index.ts │ │ │ ├── replyToComment │ │ │ │ ├── ReplyToComment.ts │ │ │ │ ├── ReplyToCommentController.ts │ │ │ │ ├── ReplyToCommentDTO.ts │ │ │ │ ├── ReplyToCommentErrors.ts │ │ │ │ └── index.ts │ │ │ ├── replyToPost │ │ │ │ ├── ReplyToPost.ts │ │ │ │ ├── ReplyToPostController.ts │ │ │ │ ├── ReplyToPostDTO.ts │ │ │ │ ├── ReplyToPostErrors.ts │ │ │ │ └── index.ts │ │ │ ├── updateCommentStats │ │ │ │ ├── UpdateCommentStats.ts │ │ │ │ ├── UpdateCommentStatsDTO.ts │ │ │ │ └── index.ts │ │ │ └── upvoteComment │ │ │ │ ├── UpvoteComment.ts │ │ │ │ ├── UpvoteCommentController.ts │ │ │ │ ├── UpvoteCommentDTO.ts │ │ │ │ ├── UpvoteCommentErrors.ts │ │ │ │ ├── UpvoteCommentResonse.ts │ │ │ │ └── index.ts │ │ │ ├── members │ │ │ ├── createMember │ │ │ │ ├── CreateMember.ts │ │ │ │ ├── CreateMemberDTO.ts │ │ │ │ ├── CreateMemberErrors.ts │ │ │ │ └── index.ts │ │ │ ├── getCurrentMember │ │ │ │ ├── GetCurrentMemberController.ts │ │ │ │ └── index.ts │ │ │ └── getMemberByUserName │ │ │ │ ├── GetMemberByUserName.ts │ │ │ │ ├── GetMemberByUserNameController.ts │ │ │ │ ├── GetMemberByUserNameDTO.ts │ │ │ │ ├── GetMemberByUserNameErrors.ts │ │ │ │ ├── GetMemberByUserNameResponseDTO.ts │ │ │ │ └── index.ts │ │ │ └── post │ │ │ ├── createPost │ │ │ ├── CreatePost.ts │ │ │ ├── CreatePostController.ts │ │ │ ├── CreatePostDTO.ts │ │ │ ├── CreatePostErrors.ts │ │ │ └── index.ts │ │ │ ├── downvotePost │ │ │ ├── DownvotePost.ts │ │ │ ├── DownvotePostController.ts │ │ │ ├── DownvotePostDTO.ts │ │ │ ├── DownvotePostErrors.ts │ │ │ ├── DownvotePostResponse.ts │ │ │ └── index.ts │ │ │ ├── editPost │ │ │ ├── EditPost.ts │ │ │ ├── EditPostController.ts │ │ │ ├── EditPostDTO.ts │ │ │ ├── EditPostErrors.ts │ │ │ ├── EditPostResponse.ts │ │ │ └── index.ts │ │ │ ├── getPopularPosts │ │ │ ├── GetPopularPosts.ts │ │ │ ├── GetPopularPostsController.ts │ │ │ ├── GetPopularPostsRequestDTO.ts │ │ │ ├── GetPopularPostsResponseDTO.ts │ │ │ └── index.ts │ │ │ ├── getPostBySlug │ │ │ ├── GetPostBySlug.ts │ │ │ ├── GetPostBySlugController.ts │ │ │ ├── GetPostBySlugDTO.ts │ │ │ ├── GetPostBySlugErrors.ts │ │ │ └── index.ts │ │ │ ├── getRecentPosts │ │ │ ├── GetRecentPosts.ts │ │ │ ├── GetRecentPostsController.ts │ │ │ ├── GetRecentPostsRequestDTO.ts │ │ │ ├── GetRecentPostsResponseDTO.ts │ │ │ └── index.ts │ │ │ ├── updatePostStats │ │ │ ├── UpdatePostStats.ts │ │ │ ├── UpdatePostStatsDTO.ts │ │ │ ├── UpdatePostStatsErrors.ts │ │ │ └── index.ts │ │ │ └── upvotePost │ │ │ ├── UpvotePost.ts │ │ │ ├── UpvotePostController.ts │ │ │ ├── UpvotePostDTO.ts │ │ │ ├── UpvotePostErrors.ts │ │ │ ├── UpvotePostResponse.ts │ │ │ └── index.ts │ └── users │ │ ├── domain │ │ ├── emailVerificationToken.ts │ │ ├── events │ │ │ ├── emailVerified.ts │ │ │ ├── userCreated.ts │ │ │ ├── userDeleted.ts │ │ │ └── userLoggedIn.ts │ │ ├── jwt.ts │ │ ├── user.ts │ │ ├── userEmail.ts │ │ ├── userId.ts │ │ ├── userName.ts │ │ └── userPassword.ts │ │ ├── dtos │ │ └── userDTO.ts │ │ ├── infra │ │ └── http │ │ │ ├── models │ │ │ └── decodedRequest.ts │ │ │ └── routes │ │ │ └── index.ts │ │ ├── mappers │ │ └── userMap.ts │ │ ├── repos │ │ ├── implementations │ │ │ └── sequelizeUserRepo.ts │ │ ├── index.ts │ │ └── userRepo.ts │ │ ├── services │ │ ├── authService.ts │ │ ├── index.ts │ │ └── redis │ │ │ ├── abstractRedisClient.ts │ │ │ ├── redisAuthService.ts │ │ │ └── redisConnection.ts │ │ └── useCases │ │ ├── README.md │ │ ├── createUser │ │ ├── CreateUserController.ts │ │ ├── CreateUserDTO.ts │ │ ├── CreateUserErrors.ts │ │ ├── CreateUserResponse.ts │ │ ├── CreateUserUseCase.ts │ │ └── index.ts │ │ ├── deleteUser │ │ ├── DeleteUserController.ts │ │ ├── DeleteUserDTO.ts │ │ ├── DeleteUserErrors.ts │ │ ├── DeleteUserUseCase.ts │ │ └── index.ts │ │ ├── getCurrentUser │ │ ├── GetCurrentUserController.ts │ │ └── index.ts │ │ ├── getUserByUserName │ │ ├── GetUserByUserName.ts │ │ ├── GetUserByUserNameController.ts │ │ ├── GetUserByUserNameDTO.ts │ │ ├── GetUserByUserNameErrors.ts │ │ └── index.ts │ │ ├── login │ │ ├── LoginController.ts │ │ ├── LoginDTO.ts │ │ ├── LoginErrors.ts │ │ ├── LoginUseCase.ts │ │ └── index.ts │ │ ├── logout │ │ ├── LogoutController.ts │ │ ├── LogoutDTO.ts │ │ ├── LogoutErrors.ts │ │ ├── LogoutUseCase.ts │ │ └── index.ts │ │ └── refreshAccessToken │ │ ├── RefreshAccessToken.ts │ │ ├── RefreshAccessTokenController.ts │ │ ├── RefreshAccessTokenDTO.ts │ │ ├── RefreshAccessTokenErrors.ts │ │ └── index.ts └── shared │ ├── core │ ├── AppError.ts │ ├── Guard.spec.ts │ ├── Guard.ts │ ├── Result.ts │ ├── UseCase.ts │ ├── UseCaseError.ts │ └── WithChanges.ts │ ├── domain │ ├── AggregateRoot.ts │ ├── DomainService.ts │ ├── Entity.ts │ ├── Identifier.ts │ ├── UniqueEntityID.ts │ ├── ValueObject.ts │ ├── WatchedList.ts │ └── events │ │ ├── DomainEvents.ts │ │ ├── IDomainEvent.ts │ │ └── IHandle.ts │ ├── infra │ ├── Mapper.ts │ ├── database │ │ └── sequelize │ │ │ ├── config │ │ │ └── config.js │ │ │ ├── hooks │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ ├── migrations │ │ │ └── 20191004134636-initial-migration.ts │ │ │ ├── models │ │ │ ├── BaseUser.ts │ │ │ ├── Comment.ts │ │ │ ├── CommentVote.ts │ │ │ ├── Member.ts │ │ │ ├── Post.ts │ │ │ ├── PostVote.ts │ │ │ └── index.ts │ │ │ └── runner.ts │ └── http │ │ ├── api │ │ └── v1.ts │ │ ├── app.ts │ │ ├── graphql │ │ ├── forum.ts │ │ ├── server.ts │ │ ├── test.js │ │ └── users.ts │ │ ├── index.ts │ │ ├── models │ │ └── BaseController.ts │ │ └── utils │ │ └── Middleware.ts │ └── utils │ ├── FlowUtils.ts │ └── TextUtils.ts └── tsconfig.json /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | **/node_modules 2 | .vscode -------------------------------------------------------------------------------- /.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/.env.template -------------------------------------------------------------------------------- /.github/workflows/diagram.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/.github/workflows/diagram.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v10.0.0 -------------------------------------------------------------------------------- /.sequelizerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/.sequelizerc -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/LICENCE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/README.md -------------------------------------------------------------------------------- /diagram.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/diagram.svg -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/entrypoint.sh -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/jest.config.js -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/package.json -------------------------------------------------------------------------------- /public/admin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/admin/README.md -------------------------------------------------------------------------------- /public/app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/.gitignore -------------------------------------------------------------------------------- /public/app/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/.prettierrc -------------------------------------------------------------------------------- /public/app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/README.md -------------------------------------------------------------------------------- /public/app/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/package-lock.json -------------------------------------------------------------------------------- /public/app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/package.json -------------------------------------------------------------------------------- /public/app/public/_redirects: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/public/_redirects -------------------------------------------------------------------------------- /public/app/public/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/public/favicon-16x16.png -------------------------------------------------------------------------------- /public/app/public/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/public/favicon-32x32.png -------------------------------------------------------------------------------- /public/app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/public/favicon.ico -------------------------------------------------------------------------------- /public/app/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/public/index.html -------------------------------------------------------------------------------- /public/app/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/public/logo192.png -------------------------------------------------------------------------------- /public/app/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/public/logo512.png -------------------------------------------------------------------------------- /public/app/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/public/manifest.json -------------------------------------------------------------------------------- /public/app/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/public/robots.txt -------------------------------------------------------------------------------- /public/app/src/App.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/App.sass -------------------------------------------------------------------------------- /public/app/src/App.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/App.test.tsx -------------------------------------------------------------------------------- /public/app/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/App.tsx -------------------------------------------------------------------------------- /public/app/src/assets/img/logo/brick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/assets/img/logo/brick.png -------------------------------------------------------------------------------- /public/app/src/assets/styles/variables.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/assets/styles/variables.sass -------------------------------------------------------------------------------- /public/app/src/config/api.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/config/api.tsx -------------------------------------------------------------------------------- /public/app/src/config/siteMetaData.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/config/siteMetaData.tsx -------------------------------------------------------------------------------- /public/app/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/index.css -------------------------------------------------------------------------------- /public/app/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/index.tsx -------------------------------------------------------------------------------- /public/app/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/logo.svg -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/comments/components/Editor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/comments/components/Editor.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/comments/components/PostSubmission.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/comments/components/PostSubmission.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/comments/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/comments/index.js -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/comments/styles/Comments.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/comments/styles/Comments.sass -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/comments/styles/Editor.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/comments/styles/Editor.sass -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/comments/styles/PostSubmission.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/comments/styles/PostSubmission.sass -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/filters/components/PostFilters.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/filters/components/PostFilters.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/filters/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/filters/index.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/filters/styles/PostFilters.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/filters/styles/PostFilters.sass -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/points/assets/arrow.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/points/assets/arrow.svg -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/points/components/PointHover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/points/components/PointHover.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/points/components/Points.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/points/components/Points.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/points/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/points/index.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/points/styles/Point.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/points/styles/Point.sass -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/points/styles/PointHover.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/points/styles/PointHover.sass -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/post/components/PostComment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/post/components/PostComment.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/post/components/PostCommentAuthorAndText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/post/components/PostCommentAuthorAndText.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/post/components/PostMeta.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/post/components/PostMeta.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/post/components/PostSummary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/post/components/PostSummary.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/post/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/post/index.ts -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/post/styles/PostComment.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/post/styles/PostComment.sass -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/post/styles/PostMeta.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/post/styles/PostMeta.sass -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/post/styles/PostSummary.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/post/styles/PostSummary.sass -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/postRow/components/PostRow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/postRow/components/PostRow.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/postRow/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/postRow/index.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/components/posts/postRow/styles/PostRow.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/components/posts/postRow/styles/PostRow.sass -------------------------------------------------------------------------------- /public/app/src/modules/forum/dtos/commentDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/dtos/commentDTO.ts -------------------------------------------------------------------------------- /public/app/src/modules/forum/dtos/memberDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/dtos/memberDTO.ts -------------------------------------------------------------------------------- /public/app/src/modules/forum/dtos/postDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/dtos/postDTO.ts -------------------------------------------------------------------------------- /public/app/src/modules/forum/hocs/withVoting.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/hocs/withVoting.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/models/Comment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/models/Comment.ts -------------------------------------------------------------------------------- /public/app/src/modules/forum/models/Member.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/models/Member.ts -------------------------------------------------------------------------------- /public/app/src/modules/forum/models/Post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/models/Post.ts -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/actionCreators.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/actionCreators.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/actions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/actions.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/index.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/createReplyToComment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/createReplyToComment.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/createReplyToPost.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/createReplyToPost.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/downvoteComment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/downvoteComment.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/downvotePost.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/downvotePost.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/getCommentByCommentId.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/getCommentByCommentId.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/getCommentReplies.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/getCommentReplies.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/getComments.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/getComments.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/getPopularPosts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/getPopularPosts.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/getPostBySlug.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/getPostBySlug.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/getRecentPosts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/getRecentPosts.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/index.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/submitPost.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/submitPost.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/upvoteComment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/upvoteComment.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/operators/upvotePost.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/operators/upvotePost.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/reducers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/reducers.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/redux/states.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/redux/states.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/services/commentService.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/services/commentService.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/services/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/services/index.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/services/postService.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/services/postService.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/utils/CommentUtil.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/utils/CommentUtil.tsx -------------------------------------------------------------------------------- /public/app/src/modules/forum/utils/PostUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/forum/utils/PostUtil.ts -------------------------------------------------------------------------------- /public/app/src/modules/users/components/onboarding/onboardTemplate/components/OnboardTemplate.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/components/onboarding/onboardTemplate/components/OnboardTemplate.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/components/onboarding/onboardTemplate/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/components/onboarding/onboardTemplate/index.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/components/onboarding/onboardTemplate/styles/OnboardTemplate.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/components/onboarding/onboardTemplate/styles/OnboardTemplate.sass -------------------------------------------------------------------------------- /public/app/src/modules/users/components/profileButton/components/ProfileButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/components/profileButton/components/ProfileButton.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/components/profileButton/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/components/profileButton/index.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/dtos/loginDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/dtos/loginDTO.ts -------------------------------------------------------------------------------- /public/app/src/modules/users/dtos/userDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/dtos/userDTO.ts -------------------------------------------------------------------------------- /public/app/src/modules/users/hocs/withLoginHandling.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/hocs/withLoginHandling.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/hocs/withLogoutHandling.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/hocs/withLogoutHandling.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/hocs/withUsersService.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/hocs/withUsersService.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/models/tokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/models/tokens.ts -------------------------------------------------------------------------------- /public/app/src/modules/users/models/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/models/user.ts -------------------------------------------------------------------------------- /public/app/src/modules/users/redux/actionCreators.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/redux/actionCreators.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/redux/actions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/redux/actions.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/redux/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/redux/index.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/redux/operators/createUser.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/redux/operators/createUser.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/redux/operators/getUserProfile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/redux/operators/getUserProfile.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/redux/operators/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/redux/operators/index.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/redux/operators/login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/redux/operators/login.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/redux/operators/logout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/redux/operators/logout.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/redux/reducers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/redux/reducers.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/redux/states.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/redux/states.tsx -------------------------------------------------------------------------------- /public/app/src/modules/users/services/authService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/services/authService.ts -------------------------------------------------------------------------------- /public/app/src/modules/users/services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/services/index.ts -------------------------------------------------------------------------------- /public/app/src/modules/users/services/userService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/modules/users/services/userService.ts -------------------------------------------------------------------------------- /public/app/src/pages/comment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/pages/comment.tsx -------------------------------------------------------------------------------- /public/app/src/pages/discussion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/pages/discussion.tsx -------------------------------------------------------------------------------- /public/app/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/pages/index.tsx -------------------------------------------------------------------------------- /public/app/src/pages/join.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/pages/join.tsx -------------------------------------------------------------------------------- /public/app/src/pages/login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/pages/login.tsx -------------------------------------------------------------------------------- /public/app/src/pages/member.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/pages/member.tsx -------------------------------------------------------------------------------- /public/app/src/pages/submit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/pages/submit.tsx -------------------------------------------------------------------------------- /public/app/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /public/app/src/serviceWorker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/serviceWorker.ts -------------------------------------------------------------------------------- /public/app/src/shared/components/button/components/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/button/components/Button.tsx -------------------------------------------------------------------------------- /public/app/src/shared/components/button/components/SubmitButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/button/components/SubmitButton.tsx -------------------------------------------------------------------------------- /public/app/src/shared/components/button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/button/index.tsx -------------------------------------------------------------------------------- /public/app/src/shared/components/button/styles/Button.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/button/styles/Button.sass -------------------------------------------------------------------------------- /public/app/src/shared/components/button/styles/SubmitButton.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/button/styles/SubmitButton.sass -------------------------------------------------------------------------------- /public/app/src/shared/components/header/assets/arrow.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/header/assets/arrow.svg -------------------------------------------------------------------------------- /public/app/src/shared/components/header/components/BackNavigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/header/components/BackNavigation.tsx -------------------------------------------------------------------------------- /public/app/src/shared/components/header/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/header/components/Header.tsx -------------------------------------------------------------------------------- /public/app/src/shared/components/header/components/Logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/header/components/Logo.tsx -------------------------------------------------------------------------------- /public/app/src/shared/components/header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/header/index.tsx -------------------------------------------------------------------------------- /public/app/src/shared/components/header/styles/BackNavigation.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/header/styles/BackNavigation.sass -------------------------------------------------------------------------------- /public/app/src/shared/components/header/styles/Header.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/header/styles/Header.sass -------------------------------------------------------------------------------- /public/app/src/shared/components/header/styles/Logo.sass: -------------------------------------------------------------------------------- 1 | .logo-container 2 | > img 3 | max-height: 70px; -------------------------------------------------------------------------------- /public/app/src/shared/components/loader/components/FullPageLoader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/loader/components/FullPageLoader.tsx -------------------------------------------------------------------------------- /public/app/src/shared/components/loader/components/Loader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/loader/components/Loader.tsx -------------------------------------------------------------------------------- /public/app/src/shared/components/loader/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/loader/index.tsx -------------------------------------------------------------------------------- /public/app/src/shared/components/loader/styles/FullPageLoader.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/loader/styles/FullPageLoader.sass -------------------------------------------------------------------------------- /public/app/src/shared/components/text-input/components/TextInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/text-input/components/TextInput.tsx -------------------------------------------------------------------------------- /public/app/src/shared/components/text-input/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/text-input/index.tsx -------------------------------------------------------------------------------- /public/app/src/shared/components/text-input/styles/TextInput.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/components/text-input/styles/TextInput.sass -------------------------------------------------------------------------------- /public/app/src/shared/core/Either.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/core/Either.ts -------------------------------------------------------------------------------- /public/app/src/shared/core/Result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/core/Result.ts -------------------------------------------------------------------------------- /public/app/src/shared/infra/redux/configureStore.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/infra/redux/configureStore.tsx -------------------------------------------------------------------------------- /public/app/src/shared/infra/redux/startupScript.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/infra/redux/startupScript.tsx -------------------------------------------------------------------------------- /public/app/src/shared/infra/router/AuthenticatedRoute.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/infra/router/AuthenticatedRoute.tsx -------------------------------------------------------------------------------- /public/app/src/shared/infra/router/UnauthenticatedRoute.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/infra/router/UnauthenticatedRoute.tsx -------------------------------------------------------------------------------- /public/app/src/shared/infra/services/APIErrorMessage.tsx: -------------------------------------------------------------------------------- 1 | 2 | export type APIErrorMessage = string; -------------------------------------------------------------------------------- /public/app/src/shared/infra/services/APIResponse.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/infra/services/APIResponse.tsx -------------------------------------------------------------------------------- /public/app/src/shared/infra/services/BaseAPI.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/infra/services/BaseAPI.tsx -------------------------------------------------------------------------------- /public/app/src/shared/layout/Layout.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/layout/Layout.sass -------------------------------------------------------------------------------- /public/app/src/shared/layout/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/layout/Layout.tsx -------------------------------------------------------------------------------- /public/app/src/shared/layout/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/layout/index.tsx -------------------------------------------------------------------------------- /public/app/src/shared/utils/DateUtil.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/utils/DateUtil.tsx -------------------------------------------------------------------------------- /public/app/src/shared/utils/ReduxUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/utils/ReduxUtils.ts -------------------------------------------------------------------------------- /public/app/src/shared/utils/TextUtil.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/src/shared/utils/TextUtil.tsx -------------------------------------------------------------------------------- /public/app/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/tsconfig.json -------------------------------------------------------------------------------- /public/app/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/public/app/yarn.lock -------------------------------------------------------------------------------- /scripts/db/create.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/scripts/db/create.js -------------------------------------------------------------------------------- /scripts/db/delete.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/scripts/db/delete.js -------------------------------------------------------------------------------- /src/config/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/config/auth.ts -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/comment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/comment.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/commentDetails.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/commentDetails.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/commentId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/commentId.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/commentText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/commentText.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/commentVote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/commentVote.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/commentVotes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/commentVotes.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/comments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/comments.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/events/commentPosted.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/events/commentPosted.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/events/commentVotesChanged.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/events/commentVotesChanged.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/events/memberCreated.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/events/memberCreated.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/events/postCreated.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/events/postCreated.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/events/postVotesChanged.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/events/postVotesChanged.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/member.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/member.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/memberDetails.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/memberDetails.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/memberId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/memberId.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/post.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/postDetails.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/postDetails.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/postId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/postId.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/postLink.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/postLink.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/postSlug.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/postSlug.spec.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/postSlug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/postSlug.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/postText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/postText.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/postTitle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/postTitle.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/postType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/postType.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/postVote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/postVote.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/postVotes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/postVotes.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/services/index.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/services/postService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/services/postService.spec.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/services/postService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/services/postService.ts -------------------------------------------------------------------------------- /src/modules/forum/domain/vote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/domain/vote.ts -------------------------------------------------------------------------------- /src/modules/forum/dtos/commentDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/dtos/commentDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/dtos/memberDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/dtos/memberDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/dtos/postDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/dtos/postDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/infra/http/routes/comment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/infra/http/routes/comment.ts -------------------------------------------------------------------------------- /src/modules/forum/infra/http/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/infra/http/routes/index.ts -------------------------------------------------------------------------------- /src/modules/forum/infra/http/routes/member.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/infra/http/routes/member.ts -------------------------------------------------------------------------------- /src/modules/forum/infra/http/routes/post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/infra/http/routes/post.ts -------------------------------------------------------------------------------- /src/modules/forum/mappers/commentDetailsMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/mappers/commentDetailsMap.ts -------------------------------------------------------------------------------- /src/modules/forum/mappers/commentMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/mappers/commentMap.ts -------------------------------------------------------------------------------- /src/modules/forum/mappers/commentVoteMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/mappers/commentVoteMap.ts -------------------------------------------------------------------------------- /src/modules/forum/mappers/memberDetailsMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/mappers/memberDetailsMap.ts -------------------------------------------------------------------------------- /src/modules/forum/mappers/memberIdMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/mappers/memberIdMap.ts -------------------------------------------------------------------------------- /src/modules/forum/mappers/memberMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/mappers/memberMap.ts -------------------------------------------------------------------------------- /src/modules/forum/mappers/postDetailsMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/mappers/postDetailsMap.ts -------------------------------------------------------------------------------- /src/modules/forum/mappers/postMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/mappers/postMap.ts -------------------------------------------------------------------------------- /src/modules/forum/mappers/postVoteMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/mappers/postVoteMap.ts -------------------------------------------------------------------------------- /src/modules/forum/repos/commentRepo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/repos/commentRepo.ts -------------------------------------------------------------------------------- /src/modules/forum/repos/commentVotesRepo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/repos/commentVotesRepo.ts -------------------------------------------------------------------------------- /src/modules/forum/repos/implementations/commentRepo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/repos/implementations/commentRepo.ts -------------------------------------------------------------------------------- /src/modules/forum/repos/implementations/sequelizeCommentVotesRepo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/repos/implementations/sequelizeCommentVotesRepo.ts -------------------------------------------------------------------------------- /src/modules/forum/repos/implementations/sequelizeMemberRepo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/repos/implementations/sequelizeMemberRepo.ts -------------------------------------------------------------------------------- /src/modules/forum/repos/implementations/sequelizePostRepo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/repos/implementations/sequelizePostRepo.ts -------------------------------------------------------------------------------- /src/modules/forum/repos/implementations/sequelizePostVotesRepo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/repos/implementations/sequelizePostVotesRepo.ts -------------------------------------------------------------------------------- /src/modules/forum/repos/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/repos/index.ts -------------------------------------------------------------------------------- /src/modules/forum/repos/memberRepo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/repos/memberRepo.ts -------------------------------------------------------------------------------- /src/modules/forum/repos/postRepo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/repos/postRepo.ts -------------------------------------------------------------------------------- /src/modules/forum/repos/postVotesRepo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/repos/postVotesRepo.ts -------------------------------------------------------------------------------- /src/modules/forum/subscriptions/afterCommentPosted.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/subscriptions/afterCommentPosted.ts -------------------------------------------------------------------------------- /src/modules/forum/subscriptions/afterCommentVotesChanged.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/subscriptions/afterCommentVotesChanged.ts -------------------------------------------------------------------------------- /src/modules/forum/subscriptions/afterPostVotesChanged.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/subscriptions/afterPostVotesChanged.ts -------------------------------------------------------------------------------- /src/modules/forum/subscriptions/afterUserCreated.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/subscriptions/afterUserCreated.ts -------------------------------------------------------------------------------- /src/modules/forum/subscriptions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/subscriptions/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/downvoteComment/DownvoteComment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/downvoteComment/DownvoteComment.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/downvoteComment/DownvoteCommentController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/downvoteComment/DownvoteCommentController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/downvoteComment/DownvoteCommentDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/downvoteComment/DownvoteCommentDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/downvoteComment/DownvoteCommentErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/downvoteComment/DownvoteCommentErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/downvoteComment/DownvoteCommentResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/downvoteComment/DownvoteCommentResponse.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/downvoteComment/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/downvoteComment/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/getCommentByCommentId/GetCommentByCommentId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/getCommentByCommentId/GetCommentByCommentId.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/getCommentByCommentId/GetCommentByCommentIdController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/getCommentByCommentId/GetCommentByCommentIdController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/getCommentByCommentId/GetCommentByCommentIdErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/getCommentByCommentId/GetCommentByCommentIdErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/getCommentByCommentId/GetCommentByCommentIdRequestDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/getCommentByCommentId/GetCommentByCommentIdRequestDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/getCommentByCommentId/GetCommentByCommentIdResponseDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/getCommentByCommentId/GetCommentByCommentIdResponseDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/getCommentByCommentId/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/getCommentByCommentId/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/getCommentsByPostSlug/GetCommentsByPostSlug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/getCommentsByPostSlug/GetCommentsByPostSlug.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/getCommentsByPostSlug/GetCommentsByPostSlugController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/getCommentsByPostSlug/GetCommentsByPostSlugController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/getCommentsByPostSlug/GetCommentsByPostSlugErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/getCommentsByPostSlug/GetCommentsByPostSlugErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/getCommentsByPostSlug/GetCommentsByPostSlugRequestDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/getCommentsByPostSlug/GetCommentsByPostSlugRequestDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/getCommentsByPostSlug/GetCommentsByPostSlugResponseDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/getCommentsByPostSlug/GetCommentsByPostSlugResponseDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/getCommentsByPostSlug/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/getCommentsByPostSlug/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/replyToComment/ReplyToComment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/replyToComment/ReplyToComment.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/replyToComment/ReplyToCommentController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/replyToComment/ReplyToCommentController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/replyToComment/ReplyToCommentDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/replyToComment/ReplyToCommentDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/replyToComment/ReplyToCommentErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/replyToComment/ReplyToCommentErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/replyToComment/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/replyToComment/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/replyToPost/ReplyToPost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/replyToPost/ReplyToPost.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/replyToPost/ReplyToPostController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/replyToPost/ReplyToPostController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/replyToPost/ReplyToPostDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/replyToPost/ReplyToPostDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/replyToPost/ReplyToPostErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/replyToPost/ReplyToPostErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/replyToPost/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/replyToPost/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/updateCommentStats/UpdateCommentStats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/updateCommentStats/UpdateCommentStats.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/updateCommentStats/UpdateCommentStatsDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/updateCommentStats/UpdateCommentStatsDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/updateCommentStats/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/updateCommentStats/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/upvoteComment/UpvoteComment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/upvoteComment/UpvoteComment.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/upvoteComment/UpvoteCommentController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/upvoteComment/UpvoteCommentController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/upvoteComment/UpvoteCommentDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/upvoteComment/UpvoteCommentDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/upvoteComment/UpvoteCommentErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/upvoteComment/UpvoteCommentErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/upvoteComment/UpvoteCommentResonse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/upvoteComment/UpvoteCommentResonse.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/comments/upvoteComment/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/comments/upvoteComment/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/members/createMember/CreateMember.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/members/createMember/CreateMember.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/members/createMember/CreateMemberDTO.ts: -------------------------------------------------------------------------------- 1 | 2 | export interface CreateMemberDTO { 3 | userId: string; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /src/modules/forum/useCases/members/createMember/CreateMemberErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/members/createMember/CreateMemberErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/members/createMember/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/members/createMember/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/members/getCurrentMember/GetCurrentMemberController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/members/getCurrentMember/GetCurrentMemberController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/members/getCurrentMember/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/members/getCurrentMember/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/members/getMemberByUserName/GetMemberByUserName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/members/getMemberByUserName/GetMemberByUserName.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/members/getMemberByUserName/GetMemberByUserNameController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/members/getMemberByUserName/GetMemberByUserNameController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/members/getMemberByUserName/GetMemberByUserNameDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/members/getMemberByUserName/GetMemberByUserNameDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/members/getMemberByUserName/GetMemberByUserNameErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/members/getMemberByUserName/GetMemberByUserNameErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/members/getMemberByUserName/GetMemberByUserNameResponseDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/members/getMemberByUserName/GetMemberByUserNameResponseDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/members/getMemberByUserName/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/members/getMemberByUserName/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/createPost/CreatePost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/createPost/CreatePost.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/createPost/CreatePostController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/createPost/CreatePostController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/createPost/CreatePostDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/createPost/CreatePostDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/createPost/CreatePostErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/createPost/CreatePostErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/createPost/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/createPost/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/downvotePost/DownvotePost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/downvotePost/DownvotePost.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/downvotePost/DownvotePostController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/downvotePost/DownvotePostController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/downvotePost/DownvotePostDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/downvotePost/DownvotePostDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/downvotePost/DownvotePostErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/downvotePost/DownvotePostErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/downvotePost/DownvotePostResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/downvotePost/DownvotePostResponse.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/downvotePost/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/downvotePost/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/editPost/EditPost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/editPost/EditPost.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/editPost/EditPostController.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/editPost/EditPostDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/editPost/EditPostDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/editPost/EditPostErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/editPost/EditPostErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/editPost/EditPostResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/editPost/EditPostResponse.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/editPost/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getPopularPosts/GetPopularPosts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getPopularPosts/GetPopularPosts.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getPopularPosts/GetPopularPostsController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getPopularPosts/GetPopularPostsController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getPopularPosts/GetPopularPostsRequestDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getPopularPosts/GetPopularPostsRequestDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getPopularPosts/GetPopularPostsResponseDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getPopularPosts/GetPopularPostsResponseDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getPopularPosts/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getPopularPosts/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getPostBySlug/GetPostBySlug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getPostBySlug/GetPostBySlug.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getPostBySlug/GetPostBySlugController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getPostBySlug/GetPostBySlugController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getPostBySlug/GetPostBySlugDTO.ts: -------------------------------------------------------------------------------- 1 | 2 | export interface GetPostBySlugDTO { 3 | slug: string; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getPostBySlug/GetPostBySlugErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getPostBySlug/GetPostBySlugErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getPostBySlug/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getPostBySlug/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getRecentPosts/GetRecentPosts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getRecentPosts/GetRecentPosts.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getRecentPosts/GetRecentPostsController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getRecentPosts/GetRecentPostsController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getRecentPosts/GetRecentPostsRequestDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getRecentPosts/GetRecentPostsRequestDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getRecentPosts/GetRecentPostsResponseDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getRecentPosts/GetRecentPostsResponseDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/getRecentPosts/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/getRecentPosts/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/updatePostStats/UpdatePostStats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/updatePostStats/UpdatePostStats.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/updatePostStats/UpdatePostStatsDTO.ts: -------------------------------------------------------------------------------- 1 | 2 | export interface UpdatePostStatsDTO { 3 | postId: string; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/updatePostStats/UpdatePostStatsErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/updatePostStats/UpdatePostStatsErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/updatePostStats/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/updatePostStats/index.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/upvotePost/UpvotePost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/upvotePost/UpvotePost.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/upvotePost/UpvotePostController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/upvotePost/UpvotePostController.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/upvotePost/UpvotePostDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/upvotePost/UpvotePostDTO.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/upvotePost/UpvotePostErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/upvotePost/UpvotePostErrors.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/upvotePost/UpvotePostResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/upvotePost/UpvotePostResponse.ts -------------------------------------------------------------------------------- /src/modules/forum/useCases/post/upvotePost/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/forum/useCases/post/upvotePost/index.ts -------------------------------------------------------------------------------- /src/modules/users/domain/emailVerificationToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/domain/emailVerificationToken.ts -------------------------------------------------------------------------------- /src/modules/users/domain/events/emailVerified.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/domain/events/emailVerified.ts -------------------------------------------------------------------------------- /src/modules/users/domain/events/userCreated.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/domain/events/userCreated.ts -------------------------------------------------------------------------------- /src/modules/users/domain/events/userDeleted.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/domain/events/userDeleted.ts -------------------------------------------------------------------------------- /src/modules/users/domain/events/userLoggedIn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/domain/events/userLoggedIn.ts -------------------------------------------------------------------------------- /src/modules/users/domain/jwt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/domain/jwt.ts -------------------------------------------------------------------------------- /src/modules/users/domain/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/domain/user.ts -------------------------------------------------------------------------------- /src/modules/users/domain/userEmail.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/domain/userEmail.ts -------------------------------------------------------------------------------- /src/modules/users/domain/userId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/domain/userId.ts -------------------------------------------------------------------------------- /src/modules/users/domain/userName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/domain/userName.ts -------------------------------------------------------------------------------- /src/modules/users/domain/userPassword.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/domain/userPassword.ts -------------------------------------------------------------------------------- /src/modules/users/dtos/userDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/dtos/userDTO.ts -------------------------------------------------------------------------------- /src/modules/users/infra/http/models/decodedRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/infra/http/models/decodedRequest.ts -------------------------------------------------------------------------------- /src/modules/users/infra/http/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/infra/http/routes/index.ts -------------------------------------------------------------------------------- /src/modules/users/mappers/userMap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/mappers/userMap.ts -------------------------------------------------------------------------------- /src/modules/users/repos/implementations/sequelizeUserRepo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/repos/implementations/sequelizeUserRepo.ts -------------------------------------------------------------------------------- /src/modules/users/repos/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/repos/index.ts -------------------------------------------------------------------------------- /src/modules/users/repos/userRepo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/repos/userRepo.ts -------------------------------------------------------------------------------- /src/modules/users/services/authService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/services/authService.ts -------------------------------------------------------------------------------- /src/modules/users/services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/services/index.ts -------------------------------------------------------------------------------- /src/modules/users/services/redis/abstractRedisClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/services/redis/abstractRedisClient.ts -------------------------------------------------------------------------------- /src/modules/users/services/redis/redisAuthService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/services/redis/redisAuthService.ts -------------------------------------------------------------------------------- /src/modules/users/services/redis/redisConnection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/services/redis/redisConnection.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/README.md -------------------------------------------------------------------------------- /src/modules/users/useCases/createUser/CreateUserController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/createUser/CreateUserController.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/createUser/CreateUserDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/createUser/CreateUserDTO.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/createUser/CreateUserErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/createUser/CreateUserErrors.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/createUser/CreateUserResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/createUser/CreateUserResponse.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/createUser/CreateUserUseCase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/createUser/CreateUserUseCase.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/createUser/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/createUser/index.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/deleteUser/DeleteUserController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/deleteUser/DeleteUserController.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/deleteUser/DeleteUserDTO.ts: -------------------------------------------------------------------------------- 1 | 2 | export interface DeleteUserDTO { 3 | userId: string; 4 | } -------------------------------------------------------------------------------- /src/modules/users/useCases/deleteUser/DeleteUserErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/deleteUser/DeleteUserErrors.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/deleteUser/DeleteUserUseCase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/deleteUser/DeleteUserUseCase.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/deleteUser/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/deleteUser/index.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/getCurrentUser/GetCurrentUserController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/getCurrentUser/GetCurrentUserController.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/getCurrentUser/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/getCurrentUser/index.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/getUserByUserName/GetUserByUserName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/getUserByUserName/GetUserByUserName.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/getUserByUserName/GetUserByUserNameController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/getUserByUserName/GetUserByUserNameController.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/getUserByUserName/GetUserByUserNameDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/getUserByUserName/GetUserByUserNameDTO.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/getUserByUserName/GetUserByUserNameErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/getUserByUserName/GetUserByUserNameErrors.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/getUserByUserName/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/getUserByUserName/index.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/login/LoginController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/login/LoginController.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/login/LoginDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/login/LoginDTO.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/login/LoginErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/login/LoginErrors.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/login/LoginUseCase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/login/LoginUseCase.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/login/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/login/index.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/logout/LogoutController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/logout/LogoutController.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/logout/LogoutDTO.ts: -------------------------------------------------------------------------------- 1 | 2 | export interface LogoutDTO { 3 | userId: string; 4 | } -------------------------------------------------------------------------------- /src/modules/users/useCases/logout/LogoutErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/logout/LogoutErrors.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/logout/LogoutUseCase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/logout/LogoutUseCase.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/logout/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/logout/index.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/refreshAccessToken/RefreshAccessToken.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/refreshAccessToken/RefreshAccessToken.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/refreshAccessToken/RefreshAccessTokenController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/refreshAccessToken/RefreshAccessTokenController.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/refreshAccessToken/RefreshAccessTokenDTO.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/refreshAccessToken/RefreshAccessTokenDTO.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/refreshAccessToken/RefreshAccessTokenErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/refreshAccessToken/RefreshAccessTokenErrors.ts -------------------------------------------------------------------------------- /src/modules/users/useCases/refreshAccessToken/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/modules/users/useCases/refreshAccessToken/index.ts -------------------------------------------------------------------------------- /src/shared/core/AppError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/core/AppError.ts -------------------------------------------------------------------------------- /src/shared/core/Guard.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/core/Guard.spec.ts -------------------------------------------------------------------------------- /src/shared/core/Guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/core/Guard.ts -------------------------------------------------------------------------------- /src/shared/core/Result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/core/Result.ts -------------------------------------------------------------------------------- /src/shared/core/UseCase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/core/UseCase.ts -------------------------------------------------------------------------------- /src/shared/core/UseCaseError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/core/UseCaseError.ts -------------------------------------------------------------------------------- /src/shared/core/WithChanges.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/core/WithChanges.ts -------------------------------------------------------------------------------- /src/shared/domain/AggregateRoot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/domain/AggregateRoot.ts -------------------------------------------------------------------------------- /src/shared/domain/DomainService.ts: -------------------------------------------------------------------------------- 1 | 2 | export interface DomainService { 3 | 4 | } 5 | -------------------------------------------------------------------------------- /src/shared/domain/Entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/domain/Entity.ts -------------------------------------------------------------------------------- /src/shared/domain/Identifier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/domain/Identifier.ts -------------------------------------------------------------------------------- /src/shared/domain/UniqueEntityID.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/domain/UniqueEntityID.ts -------------------------------------------------------------------------------- /src/shared/domain/ValueObject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/domain/ValueObject.ts -------------------------------------------------------------------------------- /src/shared/domain/WatchedList.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/domain/WatchedList.ts -------------------------------------------------------------------------------- /src/shared/domain/events/DomainEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/domain/events/DomainEvents.ts -------------------------------------------------------------------------------- /src/shared/domain/events/IDomainEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/domain/events/IDomainEvent.ts -------------------------------------------------------------------------------- /src/shared/domain/events/IHandle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/domain/events/IHandle.ts -------------------------------------------------------------------------------- /src/shared/infra/Mapper.ts: -------------------------------------------------------------------------------- 1 | 2 | export interface Mapper { 3 | 4 | } -------------------------------------------------------------------------------- /src/shared/infra/database/sequelize/config/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/database/sequelize/config/config.js -------------------------------------------------------------------------------- /src/shared/infra/database/sequelize/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/database/sequelize/hooks/index.ts -------------------------------------------------------------------------------- /src/shared/infra/database/sequelize/index.ts: -------------------------------------------------------------------------------- 1 | 2 | import "./hooks" -------------------------------------------------------------------------------- /src/shared/infra/database/sequelize/migrations/20191004134636-initial-migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/database/sequelize/migrations/20191004134636-initial-migration.ts -------------------------------------------------------------------------------- /src/shared/infra/database/sequelize/models/BaseUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/database/sequelize/models/BaseUser.ts -------------------------------------------------------------------------------- /src/shared/infra/database/sequelize/models/Comment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/database/sequelize/models/Comment.ts -------------------------------------------------------------------------------- /src/shared/infra/database/sequelize/models/CommentVote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/database/sequelize/models/CommentVote.ts -------------------------------------------------------------------------------- /src/shared/infra/database/sequelize/models/Member.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/database/sequelize/models/Member.ts -------------------------------------------------------------------------------- /src/shared/infra/database/sequelize/models/Post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/database/sequelize/models/Post.ts -------------------------------------------------------------------------------- /src/shared/infra/database/sequelize/models/PostVote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/database/sequelize/models/PostVote.ts -------------------------------------------------------------------------------- /src/shared/infra/database/sequelize/models/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/database/sequelize/models/index.ts -------------------------------------------------------------------------------- /src/shared/infra/database/sequelize/runner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/database/sequelize/runner.ts -------------------------------------------------------------------------------- /src/shared/infra/http/api/v1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/http/api/v1.ts -------------------------------------------------------------------------------- /src/shared/infra/http/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/http/app.ts -------------------------------------------------------------------------------- /src/shared/infra/http/graphql/forum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/http/graphql/forum.ts -------------------------------------------------------------------------------- /src/shared/infra/http/graphql/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/http/graphql/server.ts -------------------------------------------------------------------------------- /src/shared/infra/http/graphql/test.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/shared/infra/http/graphql/users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/http/graphql/users.ts -------------------------------------------------------------------------------- /src/shared/infra/http/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/http/index.ts -------------------------------------------------------------------------------- /src/shared/infra/http/models/BaseController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/http/models/BaseController.ts -------------------------------------------------------------------------------- /src/shared/infra/http/utils/Middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/infra/http/utils/Middleware.ts -------------------------------------------------------------------------------- /src/shared/utils/FlowUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/utils/FlowUtils.ts -------------------------------------------------------------------------------- /src/shared/utils/TextUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/src/shared/utils/TextUtils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stemmlerjs/ddd-forum/HEAD/tsconfig.json --------------------------------------------------------------------------------