Giter Club home page Giter Club logo

product-listing-app's Introduction

Product Listing Web Application

A web application that allows users to view, upload, update, delete, search, sort and filter the products.

  • Frontend Service: AngularJS + Bootstrap
  • Backend Service: Undertow + Java Servlet + MySQL(deployed in AWS)

Main Features

  • View all products uploaded so far (sorted by uploaded time).
  • Search products by product name.
  • Update and delete product by product name and username.
  • Sort products by product name or price.
  • Filter products by price range.

Architecture

  • Based on MVC pattern, each page corresponds to a controller, which defines different functions in it.
  • Use undertow framework with Java Servlet to serve the requests and talk to the database.
  • MySQL database is deployed in AWS RDS to hold the data.

Getting Started

Simply clone the Product-Listing-App repository and install the dependencies:

Prerequisites

You need git to clone the repository. You can get it from here.

Clone Product-Listing-App

git clone https://github.com/dibugger/Product-Listing-App.git
cd Product-Listing-App

Install dependencies

npm install

Run the application

Run Frontend Service

cd FrontendService
npm start

Run Backend Service

Open a new terminal, navigate to the Product-Listing-App folder and run the commands:

cd BackendService
sudo mvn clean compile
sudo mvn exec:java

The backend service is listing to the port 9000 in localhost, you should spare the port for the backend. Since the backend service is running in localhost:9000 and the frontend service is running in localhost:8000, we recommend you to use Chrome browser with Allow-Control-Allow-Origin Plugin to avoid the communication problem between the services. Now go to localhost:8000/index.html to play with the app!

Screen Shot

alt text

product-listing-app's People

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.