Giter Site home page Giter Site logo

aunghtetlin / pdf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yogenraii/pdf

0.0 0.0 0.0 37.16 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% TSQL 3.99% CSS 3.71% JavaScript 21.29% Dockerfile 0.11%

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

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.