Skip to content

jfigueruela/hexagonal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexagonal

Drag Racing

Project

  • Description: Hexagonal DDD archetype project oriented.
  • Version: 0.0.1-SNAPSHOT

How to run it?

IDE Main start

Run first 'docker-compose up' command in local-resources directory to start images
infrastructure/src/main/java/es/orquidea/hexagonal/bootstrap/SpringBootService.java

Command line plugin starter, run command into infrastructure module (hexagonal/infrastructure)

mvn spring-boot:run

REST services

Get - http://localhost:8080/users/user/{userId}
Get - http://localhost:8080/users

Post - http://localhost:8080/users

Patch - http://localhost:8080/users

Delete - http://localhost:8080/users/user/{userId}

GraphQL

  • Main schema definition infrastructure/src/main/resources/schema.graphqls
  • Configuration properties infrastructure/src/main/resources/application.properties

Service

http://localhost:8080/graphql

UI

http://localhost:8080/graphiql

Query example

{
  userById(id: "3740bf37-10b7-476b-8b3d-646a61e046f9") {
    id,
    name
    email
  }
}



Documentation

About

Hexagonal Architecture DDD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages