Giter Club home page Giter Club logo

qna-hub's Introduction

QnA-Hub : A web application

This is a simple web application built using Spring MVC framework as part of OOAD course at PES University.

MVC (Model-View-Controller) is one of the most widely used software design pattern for app and web development. The Model View Controller design pattern separates concerns into model, view, and controller. The model contains data, view has the UI logic and controller has the backend code for application logic.

Problem Formulation:

  1. Create a web application to ask questions and post answers for the posted questions.

About project:

  • QnA-Hub is a simple web app built using Spring MVC Framework on Eclipse IDE.
  • Project is created using Maven with Archetype Web Application.
  • It runs on Tomcat Server at localhost (Tested on Tomcat v8.5 server).
  • Bootstrap is used for styling for views.
  • Functionalities:
    • User can view all questions and post new questions on home page.
      • Questions must be unique.
    • User can navigate to answers page for a question by clicking on it.
    • User can view all answers and post new answers for a question on its answer page.
      • Answer titles must be unique.

MVC Implementation:

  • Models:
    • QuestionModel.java: stores and provides interface to access questions.
    • AnswerModel.java: stores and provides interface to access answers.
  • Views:
    • home.jsp: view to display and add questions.
    • answers.jsp: view to display and add answer for a particular question.
  • Controller:
    • MainController.java: controller to listen and serve for requests.

Entities: Question.java and Answer.java

qna-hub's People

Contributors

likhith-sagar avatar

Stargazers

Archit Sagar 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.