Giter VIP home page Giter VIP logo

pollify's Introduction

Pollify

An app for conducting polls built using Java (Spring-Boot), Maven, JSP, Hibernate and MySQL.

Pollify Banner

Index

  1. Features
  2. Deployment
  3. Screenshots

Features

  • User login/register
  • Create/View channels for dedicated topics
  • Create/View posts in subscribed channels
  • Search users by name or username
  • Search channels by name
  • View all posts by a user
  • View all posts in a channel

Deployment

The two ways to deploy and run/test the application are listed below:

Docker build

This build uses docker-compose to run the latest images of pollify and mysql. The images are pulled from Docker Hub, if not present.

  1. Navigate to docker folder from root directory.
  2. Edit the environment variables in .env file, if required.
  3. Run docker-compose up. Add sudo if required.
  4. Open the browser and navigate to the port specified in .env file as PORT_SERVER.

Manual build

This build runs the Spring-Boot project as a Java application and connects it externally to a MySQL instance.

  1. Navigate to app folder from root directory.
  2. Edit the pom.xml file to change the field packaging (Line 17) from war to jar.
  3. Navigate to src/main/resources/ and edit the file named application.properties.
  4. Replace the values of spring.datasource.username and spring.datasource.password with your username and password.
  5. Configure your MySQL instance to grant permissions to your user, if required.
  6. Navigate to app folder from root directory and run mvn clean package.
  7. A new directory named target will be created.
  8. Run java -jar pollify-0.0.1-SNAPSHOT.jar from a terminal by navigating inside target folder.
  9. Open the browser and navigate to localhost:8080.

Screenshots

Login Screen Dashboard
Login Screen Dashboard
Create Channel View Channels
Create Channel View Channels
Create Post View Posts
Create Post View Posts
View Users Submit Response
View Users Submit Response

pollify's People

Contributors

pinaka30 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.