Coder Social home page Coder Social logo

yogenraii / pdf Goto Github PK

View Code? Open in Web Editor NEW
24.0 3.0 27.0 37.15 MB

This is web application, micro-stackoverflow, built with Spring MVC 5, Hibernate 5, AOP and Spring Security etc . Unregistered user can search for questions and look into details including answer however registered member can post questions and answers.

Java 70.89% CSS 3.71% JavaScript 21.29% TSQL 3.99% Dockerfile 0.11%
hibernate-5 spring-5 spring-security-5 mysql-database tiles object-relational-mapping spring-boot-2 restful-api

pdf's Introduction

Programming Discussion Forum

Fully functional discussion forum backed with Spring MVC, Spring Security and Hibernate.

Getting started

Clone the project

git clone https://github.com/YogenRaii/pdf.git

Import project into any of IDE and deploy in any container (Tomcat would be the easiest) and test endpoint:

http://localhost:8080

Docker

You need to have Docker installed to run the latest master branch.

Build artifact with Maven as:

mvn clean install

Now, create Docker image, and hence container with Docker Compose as:

docker-compose up --build

This creates container for app and mysql, network bridge to connect these to container!

Spring Boot Run

Need to switch to branch spring-boot-embedded-container for this feature!

Go to $PROJECT_DIR/pdf-app directory and run:

mvn clean spring-boot:run

With this, Spring Boot starts embedded container at port 8081. So, service can be reached at:

http://localhost:8080

Vagrant Installation

Need to switch to branch spring-5-hibernate-5 for this feature!

Go to $PROJECT_DIR/vagrant directory and install the plugins as defined in Vagrantfile.

Once vagrant plugins are ready, run script to create artifacts:

./build_pdf.sh

Once, artifact is ready, bring up vagrant box with:

vagrant up pdf

Once vagrant box comes up, you should be able to access the service at:

http://pdf.local:8080/pdf

Testing

User can search the questions and go into the details even without login.

Search Page

Once registered user logs in, s/he can ask the question and answer the question.

Wall Page

Application supports internationalization with Nepalese and Chinese language.

I18N Page

Logging into the system

As Admin User


username : ironman

password : ironman

As General User,


username : rabi

password : rabi

pdf's People

Contributors

yogenraii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.