Giter VIP home page Giter VIP logo

javaee_exam's Introduction

Build Status

48 hours home exam. Java EE

  • Student: Nikita Zhevnitskiy
  • Subject: PG5100-1 17V Enterpriseprogrammering 1

This repository contains exam delivery of javaEE application (enterprise system).

https://github.com/NikitaZhevnitskiy/javaEE_exam.git

Exercises

I have done with all E1-E9 exercise

Project structure

Exam module contains 3 modules: backend, frontend, report
Packages are named intuitive.

Tests

All tests from task (E2) locates in backend module, at the beginning of RestaurantEJBTest.java
They are named the same way.

All tests from task (E7) locates in frontend module in MyCantinaIT.

Rest tests needs to check additional functionality and constraints.
(E8) Coverage report total: 96%

Extra functionality (E9)

  • User roles (nonRegistered, Customer, Chef)
    nonRegistered user:
    can: login, register;
    cannot: see/interact with dishes,menus,menu list
    Customer user:
    can: logout, only see menu and travers among them
    cannot: see/interact with dishes, menu list, create menu
    Chef user:
    can: create entities(dish, menu), delete entity menu, travers all pages on webapp

  • menuList page (for chef only)
    list menus
    remove menu

  • additional tests for user entity and selenium for extra functionality Arquillian tests UserEJBTest in backend module
    Arquillian tests at the end of class RestaurantEJBTest in backend module
    Selenium tests WebPageIT in frontend module

  • travis for Arquillian test

How to run application

  1. Clone repo
  2. Run from application root folder
    mvn install -DskipTests - will install app without tests
    or (OPTIONAL)
    mvn install - will install and run all Arquillian tests
    or (OPTIONAL)
    mvn install -P selenium - will install and run Arquillian & Selenium tests
    !NB for Selenium tests needs Chrome driver in user root folder
  3. go to ~/frontend module and run there
    mvn wildfly:run
  4. Open in browser localhost:8080/my_cantina

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.