Giter Club home page Giter Club logo

dropwizard-todo's Introduction

Todo list with Dropwizard

A simple todo list sample application implemented using dropwizad as the core framework with a simple UI that consumes the REST API based on twitter bootstrap, backbone.js, jquery, jasmine and require.js.

It uses jasmine-maven-plugin to integrate the UI in the maven build.

Our focus is on: project structure, code quality, testing, deployment

Specification - DRAFT 1 -

The service will be mounted on $BASE_URL. It will expose a simple todos resource that has the following API:

  • GET /todos - will return the list of todos

  • POST /todos - will create another todo and return an URL to the new resource

  • GET /todos/{id} - will get details about a single todo (including all items)

  • PUT /todos/{id} - will update the todo specified by {id}

  • DELETE /todos/{id} - will delete the todo specified by {id}

A todo has the following information:

  • id : assigned by server on creation (Read Only)
  • created : assigned on creation (Read Only)
  • email: owner email address
  • items: list of items

A todo item has the following information:

  • title: a text description of what need to be done
  • created: date time assigned on creation
  • finished: date time assigned when the item was finished

How to run

  • clone: [email protected]:bucharest-jug/dropwizard-todo.git && cd dropwizard-todo
  • build the project with $ mvn clean install
  • run it: java -jar todo-service/target/todo-service-1.0.0-SNAPSHOT.jar server todo.sample.yml
  • goto the view: http://localhost:8080

Links

Pics

New todo Todo List

dropwizard-todo's People

Contributors

ieugen avatar mortonfox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.