All Projects → darecoder → Polling-App

darecoder / Polling-App

Licence: other
Online Polling & Survey application - Full Stack Polling Application built using Spring Boot, Spring Security, JWT, React, and Maven

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to Polling-App

maven-dependency-plugin
Apache Maven Dependency Plugin
Stars: ✭ 119 (+466.67%)
Mutual labels:  maven
SpringsScala
Sample Projects for Creating Springs Web services in Scala
Stars: ✭ 16 (-23.81%)
Mutual labels:  maven
MasterSeleniumFramework
Automation Testing | Web | Java | OOPS | Selenium WebDriver | TestNG | Maven | ExtentReport | Allure Reports | Java mail API | Design Patterns (Page Object Model, Singleton) | Jenkins | Data-Driven Testing using JSON file
Stars: ✭ 52 (+147.62%)
Mutual labels:  maven
dependency-update-maven-plugin
A Maven plugin that creates merge requests for dependency updates.
Stars: ✭ 23 (+9.52%)
Mutual labels:  maven
Student-Information-Administration-System
大学生信息管理系统——初学路上自己摸索实践的项目
Stars: ✭ 91 (+333.33%)
Mutual labels:  maven
maven-shade-plugin
Apache Maven Shade Plugin
Stars: ✭ 120 (+471.43%)
Mutual labels:  maven
dmn-check
A tool which performs static analyses on Decision Model Notation (DMN) files to detect bugs
Stars: ✭ 34 (+61.9%)
Mutual labels:  maven
ktlint-maven-plugin
Maven plugin for ktlint the Kotlin linter
Stars: ✭ 42 (+100%)
Mutual labels:  maven
WorldGuardExtraFlagsPlugin
Extension for the WorldGuard plugin.
Stars: ✭ 47 (+123.81%)
Mutual labels:  maven
etoolbox-authoring-kit
Offers a set of tools that create Granite UI authoring interfaces for Adobe Experience Manager components from Java code. This is a comprehensive solution that makes different widgets work in a coordinated manner, provides greater interactivity in AEM dialogs, and introduces additional features (customizable data lists, options selection, etc.)
Stars: ✭ 93 (+342.86%)
Mutual labels:  maven
atguigu ssm crud
Atguigu-SSM-CRUD 一个最基本的CRUD系统,采用IDEA+Maven搭建,具备前后端交互功能,前端采用BootStrap+Ajax异步请求DOM渲染,后端采用SpringMVC+MyBatis+Mysql8.0+Servlet+Jsp,符合REST风格URL规范,并加入了Hibernate提供的数据校验功能,支持PageHelper的分页功能,很适合SSM阶段性练习。同时用到了很多前端操作以及BootStrap组件,也有利于学习JS和前端框架。
Stars: ✭ 52 (+147.62%)
Mutual labels:  maven
maven-resource
Maven Repository Manager Concourse Resource
Stars: ✭ 22 (+4.76%)
Mutual labels:  maven
reproducible-build-maven-plugin
A simple Maven plugin to make your build byte-for-byte reproducible
Stars: ✭ 65 (+209.52%)
Mutual labels:  maven
kotlin-grpc-sample
Sample of a gRPC Kotlin service
Stars: ✭ 27 (+28.57%)
Mutual labels:  maven
mojo-executor
The Mojo Executor provides a way to to execute other Mojos (plugins) within a Maven plugin, allowing you to easily create Maven plugins that are composed of other plugins.
Stars: ✭ 182 (+766.67%)
Mutual labels:  maven
plexus-compiler
Plexus compiler a layer on top of compilers and used by maven-compiler-plugin
Stars: ✭ 24 (+14.29%)
Mutual labels:  maven
library-booksystem
基于ssm的入门项目,图书在线管理系统。a library system.
Stars: ✭ 26 (+23.81%)
Mutual labels:  maven
maven-artifacts-uploader
command line tool for uploading directory of maven artifacts to nexus 3.x repository
Stars: ✭ 30 (+42.86%)
Mutual labels:  maven
ebook-continuous-delivery-with-kubernetes-and-jenkins
Continuous Delivery for Java Apps: Build a CD Pipeline Step by Step Using Kubernetes, Docker, Vagrant, Jenkins, Spring, Maven and Artifactory
Stars: ✭ 39 (+85.71%)
Mutual labels:  maven
MaxSoft-IntelliAPI
First-ever code-free and lightweight cross platform API and database test automation tool.
Stars: ✭ 14 (-33.33%)
Mutual labels:  maven

Building a Full Stack Polls app similar to twitter polls with Spring Boot, Spring Security, JWT

Sign Up

Login

View Page

Create Poll

Vote response

Profile

Steps to Setup the Spring Boot Back end app (polling-app-server)

  1. Clone the application

    git clone https://github.com/ekta1999/Polling-App.git
    cd Polling-App
    cd polling-app-server
  2. Create MySQL database

    create database polling_app
  3. Change MySQL username and password as per your MySQL installation

    • open src/main/resources/application.properties file.

    • change spring.datasource.username and spring.datasource.password properties as per your mysql installation

  4. Run the app

    You can run the spring boot app by typing the following command -

    mvn spring-boot:run

    The server will start on port 8080.

    You can also package the application in the form of a jar file and then run it like so -

    mvn package
    java -jar target/polls-0.0.1-SNAPSHOT.jar
  5. Default Roles

    The spring boot app uses role based authorization powered by spring security. To add the default roles in the database, I have added the following sql queries in src/main/resources/data.sql file. Spring boot will automatically execute this script on startup -

    INSERT IGNORE INTO roles(name) VALUES('ROLE_USER');
    INSERT IGNORE INTO roles(name) VALUES('ROLE_ADMIN');

    Any new user who signs up to the app is assigned the ROLE_USER by default.

Steps to Setup the React Front end app (polling-app-client)

First go to the polling-app-client folder -

cd polling-app-client

Then type the following command to install the dependencies and start the application -

npm install && npm start

The front-end server will start on port 3000.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].