Code Monkey home page Code Monkey logo

vaadin-todo's Introduction

ToDo – a Vaadin-Spring sample application

This app demonstrates the use of two major Java frameworks, Vaadin and Spring, seamlessly together.

Architecture overview

Architecture diagram

The application follows the Model-View-Presenter pattern. Data model is represented by two classes – Task, which holds data of a task, and TaskRepository, which acts as a task repository. There is only one View-Presenter pair, TaskView and TaskPresenter.

To demonstrate the use of Spring Web Services library, the application implements one more feature – the IP address of a user is looked up in GeoIP database and the user's country is logged into standard output. Logging is provided by LoggingService, GeoIP lookup by GeoIPService.

Running the application

Prerequisites

In order to be able to run this application, you must have these dependencies installed:

  • Java 1.8 or higher
  • Maven

For running the TestBench tests, you also need:

  • Google Chrome
  • ChromeDriver for Selenium

Configuration

Before you build the application, you need to either disable TestBench tests (in case you don't want to use them) or correctly set the ChromeDriver path. In that case, please see src/test/java/cz/jkapoun/todo/tests/AppIT.java file.

vaadin-todo's People

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.