Giter Site home page Giter Site logo

orange-guo / dddsample-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from citerus/dddsample-core

0.0 0.0 0.0 7.86 MB

This is the new home of the original DDD Sample app (previously hosted at sf.net)..

License: MIT License

Java 92.69% CSS 1.49% HTML 5.81%

dddsample-core's Introduction

DDDSample

Java CI with Maven

This is the new home of the original DDD Sample app hosted at SourceForge.

Our intention is to move everything from SourceForge to GitHub in due time while starting upgrading both the technical aspects as well as the DDD aspects of the DDD Sample.

This project is a joint effort by Eric Evans' company Domain Language and the Swedish software consulting company Citerus.

The application uses Spring Boot. To start it go to the root directory and type mvn spring-boot:run or run the main method of the Application class from your IDE.
Then open http://localhost:8080/dddsample in your browser (and make sure that no firewall is blocking the communication and that Javascript for localhost is not blocked).

Discussion group: https://groups.google.com/forum/#!forum/dddsample

Development blog: https://citerus.github.io/dddsample-core/

Trello board: https://trello.com/b/PTDFRyxd

How to build

Using Maven (we recommend using the included Maven wrapper), run this command to compile and run all the tests:

./mvnw verify

If you want to compile without running the tests, run the following command:

./mvnw compile

For Windows users, use the included mvnw.cmd file instead, without the ./ but using the same arguments.

How to run

To start the app using the included application server and in-process HSQL database, run this command:

./mvnw spring-boot:run

For Windows users, use the included mvnw.cmd file instead, without the ./ but using the same arguments.

Entity relationships

The diagram was created with diagrams.net (formerly draw.io).

Using the HandlingReport REST API

The HandlingReport API has one endpoint that takes a JSON request body:

POST /dddsample/handlingReport

You can use cURL to send the request using an JSON file for the body:

curl --data-binary "@/path/to/project/src/test/resources/sampleHandlingReport.json" \
-H 'Content-Type: application/json;charset=UTF-8' \
http://localhost:8080/dddsample/handlingReport

See the api-docs.yaml file for a complete API definition.

dddsample-core's People

Contributors

cyberkni avatar daneidmark avatar dependabot[bot] avatar ericevans0 avatar ikardovskiy avatar jeham avatar jorgenfalk avatar jostly avatar jrende avatar kevinojt avatar kingsleylong avatar llissery avatar mackapappa avatar mdeinum avatar mikelhamer avatar orende avatar patrikfr avatar peterbacklund avatar ralmeidaa avatar rickardsundin avatar swissspidy avatar tmtron avatar yashtef 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.