├── .idea ├── .gitignore ├── Polling-App.iml ├── misc.xml ├── modules.xml └── vcs.xml ├── Images ├── s1.PNG ├── s2.PNG ├── s4.PNG ├── s5.PNG ├── s6.PNG └── s7.PNG ├── Readme.md ├── polling-app-client ├── .dockerignore ├── .gitignore ├── .idea │ ├── misc.xml │ ├── modules.xml │ ├── polling-app-client.iml │ ├── vcs.xml │ └── workspace.xml ├── .snyk ├── Dockerfile ├── README.md ├── config-overrides.js ├── nginx.conf ├── package-lock.json ├── package.json ├── public │ ├── favicon.png │ ├── index.html │ └── manifest.json ├── src │ ├── app │ │ ├── App.css │ │ └── App.js │ ├── common │ │ ├── AppHeader.css │ │ ├── AppHeader.js │ │ ├── LoadingIndicator.js │ │ ├── NotFound.css │ │ ├── NotFound.js │ │ ├── PrivateRoute.js │ │ ├── ServerError.css │ │ └── ServerError.js │ ├── constants │ │ └── index.js │ ├── index.css │ ├── index.js │ ├── logo.svg │ ├── poll.svg │ ├── poll │ │ ├── NewPoll.css │ │ ├── NewPoll.js │ │ ├── Poll.css │ │ ├── Poll.js │ │ ├── PollList.css │ │ └── PollList.js │ ├── registerServiceWorker.js │ ├── user │ │ ├── login │ │ │ ├── Login.css │ │ │ └── Login.js │ │ ├── profile │ │ │ ├── Profile.css │ │ │ └── Profile.js │ │ └── signup │ │ │ ├── Signup.css │ │ │ └── Signup.js │ └── util │ │ ├── APIUtils.js │ │ ├── Colors.js │ │ └── Helpers.js └── yarn.lock └── polling-app-server ├── .gitignore ├── .mvn └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main ├── java │ └── com │ │ └── ekta │ │ └── polls │ │ ├── PollsApplication.java │ │ ├── config │ │ ├── AuditingConfig.java │ │ ├── SecurityConfig.java │ │ └── WebMvcConfig.java │ │ ├── controller │ │ ├── AuthController.java │ │ ├── PollController.java │ │ └── UserController.java │ │ ├── exception │ │ ├── AppException.java │ │ ├── BadRequestException.java │ │ └── ResourceNotFoundException.java │ │ ├── model │ │ ├── Choice.java │ │ ├── ChoiceVoteCount.java │ │ ├── Poll.java │ │ ├── Role.java │ │ ├── RoleName.java │ │ ├── User.java │ │ ├── Vote.java │ │ └── audit │ │ │ ├── DateAudit.java │ │ │ └── UserDateAudit.java │ │ ├── payload │ │ ├── ApiResponse.java │ │ ├── ChoiceRequest.java │ │ ├── ChoiceResponse.java │ │ ├── JwtAuthenticationResponse.java │ │ ├── LoginRequest.java │ │ ├── PagedResponse.java │ │ ├── PollLength.java │ │ ├── PollRequest.java │ │ ├── PollResponse.java │ │ ├── SignUpRequest.java │ │ ├── UserIdentityAvailability.java │ │ ├── UserProfile.java │ │ ├── UserSummary.java │ │ └── VoteRequest.java │ │ ├── repository │ │ ├── PollRepository.java │ │ ├── RoleRepository.java │ │ ├── UserRepository.java │ │ └── VoteRepository.java │ │ ├── security │ │ ├── CurrentUser.java │ │ ├── CustomUserDetailsService.java │ │ ├── JwtAuthenticationEntryPoint.java │ │ ├── JwtAuthenticationFilter.java │ │ ├── JwtTokenProvider.java │ │ └── UserPrincipal.java │ │ ├── service │ │ └── PollService.java │ │ └── util │ │ ├── AppConstants.java │ │ └── ModelMapper.java └── resources │ ├── application.properties │ ├── data.sql │ └── db │ └── migration │ ├── V1__schema.sql │ └── V2__default_roles.sql └── test └── java └── com └── ekta └── polls └── PollsApplicationTests.java /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Default ignored files 3 | /workspace.xml -------------------------------------------------------------------------------- /.idea/Polling-App.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/.idea/Polling-App.iml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /Images/s1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/Images/s1.PNG -------------------------------------------------------------------------------- /Images/s2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/Images/s2.PNG -------------------------------------------------------------------------------- /Images/s4.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/Images/s4.PNG -------------------------------------------------------------------------------- /Images/s5.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/Images/s5.PNG -------------------------------------------------------------------------------- /Images/s6.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/Images/s6.PNG -------------------------------------------------------------------------------- /Images/s7.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/Images/s7.PNG -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/Readme.md -------------------------------------------------------------------------------- /polling-app-client/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | node_modules 3 | build 4 | -------------------------------------------------------------------------------- /polling-app-client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/.gitignore -------------------------------------------------------------------------------- /polling-app-client/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/.idea/misc.xml -------------------------------------------------------------------------------- /polling-app-client/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/.idea/modules.xml -------------------------------------------------------------------------------- /polling-app-client/.idea/polling-app-client.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/.idea/polling-app-client.iml -------------------------------------------------------------------------------- /polling-app-client/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/.idea/vcs.xml -------------------------------------------------------------------------------- /polling-app-client/.idea/workspace.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/.idea/workspace.xml -------------------------------------------------------------------------------- /polling-app-client/.snyk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/.snyk -------------------------------------------------------------------------------- /polling-app-client/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/Dockerfile -------------------------------------------------------------------------------- /polling-app-client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/README.md -------------------------------------------------------------------------------- /polling-app-client/config-overrides.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/config-overrides.js -------------------------------------------------------------------------------- /polling-app-client/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/nginx.conf -------------------------------------------------------------------------------- /polling-app-client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/package-lock.json -------------------------------------------------------------------------------- /polling-app-client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/package.json -------------------------------------------------------------------------------- /polling-app-client/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/public/favicon.png -------------------------------------------------------------------------------- /polling-app-client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/public/index.html -------------------------------------------------------------------------------- /polling-app-client/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/public/manifest.json -------------------------------------------------------------------------------- /polling-app-client/src/app/App.css: -------------------------------------------------------------------------------- 1 | .app-content { 2 | margin-top: 64px; 3 | } -------------------------------------------------------------------------------- /polling-app-client/src/app/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/app/App.js -------------------------------------------------------------------------------- /polling-app-client/src/common/AppHeader.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/common/AppHeader.css -------------------------------------------------------------------------------- /polling-app-client/src/common/AppHeader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/common/AppHeader.js -------------------------------------------------------------------------------- /polling-app-client/src/common/LoadingIndicator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/common/LoadingIndicator.js -------------------------------------------------------------------------------- /polling-app-client/src/common/NotFound.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/common/NotFound.css -------------------------------------------------------------------------------- /polling-app-client/src/common/NotFound.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/common/NotFound.js -------------------------------------------------------------------------------- /polling-app-client/src/common/PrivateRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/common/PrivateRoute.js -------------------------------------------------------------------------------- /polling-app-client/src/common/ServerError.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/common/ServerError.css -------------------------------------------------------------------------------- /polling-app-client/src/common/ServerError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/common/ServerError.js -------------------------------------------------------------------------------- /polling-app-client/src/constants/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/constants/index.js -------------------------------------------------------------------------------- /polling-app-client/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/index.css -------------------------------------------------------------------------------- /polling-app-client/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/index.js -------------------------------------------------------------------------------- /polling-app-client/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/logo.svg -------------------------------------------------------------------------------- /polling-app-client/src/poll.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/poll.svg -------------------------------------------------------------------------------- /polling-app-client/src/poll/NewPoll.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/poll/NewPoll.css -------------------------------------------------------------------------------- /polling-app-client/src/poll/NewPoll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/poll/NewPoll.js -------------------------------------------------------------------------------- /polling-app-client/src/poll/Poll.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/poll/Poll.css -------------------------------------------------------------------------------- /polling-app-client/src/poll/Poll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/poll/Poll.js -------------------------------------------------------------------------------- /polling-app-client/src/poll/PollList.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/poll/PollList.css -------------------------------------------------------------------------------- /polling-app-client/src/poll/PollList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/poll/PollList.js -------------------------------------------------------------------------------- /polling-app-client/src/registerServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/registerServiceWorker.js -------------------------------------------------------------------------------- /polling-app-client/src/user/login/Login.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/user/login/Login.css -------------------------------------------------------------------------------- /polling-app-client/src/user/login/Login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/user/login/Login.js -------------------------------------------------------------------------------- /polling-app-client/src/user/profile/Profile.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/user/profile/Profile.css -------------------------------------------------------------------------------- /polling-app-client/src/user/profile/Profile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/user/profile/Profile.js -------------------------------------------------------------------------------- /polling-app-client/src/user/signup/Signup.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/user/signup/Signup.css -------------------------------------------------------------------------------- /polling-app-client/src/user/signup/Signup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/user/signup/Signup.js -------------------------------------------------------------------------------- /polling-app-client/src/util/APIUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/util/APIUtils.js -------------------------------------------------------------------------------- /polling-app-client/src/util/Colors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/util/Colors.js -------------------------------------------------------------------------------- /polling-app-client/src/util/Helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/src/util/Helpers.js -------------------------------------------------------------------------------- /polling-app-client/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-client/yarn.lock -------------------------------------------------------------------------------- /polling-app-server/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/.gitignore -------------------------------------------------------------------------------- /polling-app-server/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /polling-app-server/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /polling-app-server/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/mvnw -------------------------------------------------------------------------------- /polling-app-server/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/mvnw.cmd -------------------------------------------------------------------------------- /polling-app-server/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/pom.xml -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/PollsApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/PollsApplication.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/config/AuditingConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/config/AuditingConfig.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/config/SecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/config/SecurityConfig.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/config/WebMvcConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/config/WebMvcConfig.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/controller/AuthController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/controller/AuthController.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/controller/PollController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/controller/PollController.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/controller/UserController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/controller/UserController.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/exception/AppException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/exception/AppException.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/exception/BadRequestException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/exception/BadRequestException.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/exception/ResourceNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/exception/ResourceNotFoundException.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/model/Choice.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/model/Choice.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/model/ChoiceVoteCount.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/model/ChoiceVoteCount.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/model/Poll.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/model/Poll.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/model/Role.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/model/Role.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/model/RoleName.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/model/RoleName.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/model/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/model/User.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/model/Vote.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/model/Vote.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/model/audit/DateAudit.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/model/audit/DateAudit.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/model/audit/UserDateAudit.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/model/audit/UserDateAudit.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/ApiResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/ApiResponse.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/ChoiceRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/ChoiceRequest.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/ChoiceResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/ChoiceResponse.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/JwtAuthenticationResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/JwtAuthenticationResponse.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/LoginRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/LoginRequest.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/PagedResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/PagedResponse.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/PollLength.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/PollLength.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/PollRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/PollRequest.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/PollResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/PollResponse.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/SignUpRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/SignUpRequest.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/UserIdentityAvailability.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/UserIdentityAvailability.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/UserProfile.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/UserProfile.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/UserSummary.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/UserSummary.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/payload/VoteRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/payload/VoteRequest.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/repository/PollRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/repository/PollRepository.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/repository/RoleRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/repository/RoleRepository.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/repository/UserRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/repository/UserRepository.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/repository/VoteRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/repository/VoteRepository.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/security/CurrentUser.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/security/CurrentUser.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/security/CustomUserDetailsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/security/CustomUserDetailsService.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/security/JwtAuthenticationEntryPoint.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/security/JwtAuthenticationEntryPoint.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/security/JwtAuthenticationFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/security/JwtAuthenticationFilter.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/security/JwtTokenProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/security/JwtTokenProvider.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/security/UserPrincipal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/security/UserPrincipal.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/service/PollService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/service/PollService.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/util/AppConstants.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/util/AppConstants.java -------------------------------------------------------------------------------- /polling-app-server/src/main/java/com/ekta/polls/util/ModelMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/java/com/ekta/polls/util/ModelMapper.java -------------------------------------------------------------------------------- /polling-app-server/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/resources/application.properties -------------------------------------------------------------------------------- /polling-app-server/src/main/resources/data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/resources/data.sql -------------------------------------------------------------------------------- /polling-app-server/src/main/resources/db/migration/V1__schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/resources/db/migration/V1__schema.sql -------------------------------------------------------------------------------- /polling-app-server/src/main/resources/db/migration/V2__default_roles.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/main/resources/db/migration/V2__default_roles.sql -------------------------------------------------------------------------------- /polling-app-server/src/test/java/com/ekta/polls/PollsApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darecoder/Polling-App/HEAD/polling-app-server/src/test/java/com/ekta/polls/PollsApplicationTests.java --------------------------------------------------------------------------------