Giter Club home page Giter Club logo

prodman's Introduction

ManufacturersProducts

Study project. https://prodman.herokuapp.com -->

This is a study project.
Used technologies: Java, SQL, Hibernate, Servlet, JSP, Maven, Tomcat, Git

Task Description.
Необходимо создать веб-приложение, которое позволяет выполнять CRUD операции над следующими объектами:


Product:
UUID id;
String name;
BigDecimal price;
Manufacturer manufacturer;


Manufacturer
UUID id;
String name;
Set products;


В базе данных хранятся данные о производителях (Manufacturer) и товарах (Product). Каждый товар имеет одного производителя, и каждый производитель имеет набор товаров.

Страницы:

  1. Manufacturers (список производителей + возможность создавать новых, редактировать и удалять созданных производителей)
  2. Products (список товаров + возможность создавать новых, редактировать и удалять созданные товары)

При создании товара выбор производителя реализовать с помощью выпадающего меню.

Результатом выполнения задания должен быть отдельный репозиторий с описанием задачи, подробными инструкциями по запуску приложения на локальной машине, файлами для инициализации и заполнения БД и ссылкой на развренутым приложением на heroku

Необходимо придерживаться паттерна MVC (model, view, controller). Все классы должны быть грамотно разложены по пакетам и грамотно именованы (model, dao, controller).

Технологии: Java, SQL, Hibernate, Servlet, JSP, Maven, Tomcat, Git.

Functionality of the application is to creates Manufacturers and associated with them Products.

How to run app on your local machine.

  1. First install SQL database and change settings in main/java/resources/hibernate.cfg.xml suitable for your DB.
  2. Use files main/java/resources/database/initDB.sql and populateDB.sql for initialization database and fill it by data. initDB.sql contains requests for creating tables and populateDB.sql contains requests for fill database by data.
  3. Then run the app and enjoy. ))

prodman's People

Contributors

shumskih avatar

Watchers

James Cloos 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.