Skip to content

belovaf/clean-architecture-example

This branch is 1 commit behind carlphilipp/clean-architecture-example:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

475c2b4 · Apr 23, 2019

History

47 Commits
Apr 23, 2019
Apr 23, 2019
Apr 22, 2019
Apr 22, 2019
Jun 8, 2018
Apr 22, 2019
Apr 11, 2018
Apr 11, 2018
Dec 17, 2018
Dec 17, 2018
Apr 11, 2018
Apr 11, 2018
Apr 11, 2018
Apr 22, 2019

Repository files navigation

Clean Architecture Example

Pre-requisite

Java 11

> java -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

Compile

./gradlew clean build

Run Spring example

java -jar application/spring-app/build/libs/spring-app-1.0.0.jar

Run Vertx example

java -jar application/vertx-app/build/libs/vertx-app-1.0.0-fat.jar

Use the webbapps

Create User

POST: http://localhost:8080/users
Body:
{
  "email": "[email protected]",
  "password": "mypassword",
  "lastName": "Doe",  
  "firstName": "John"
}

Get all users

GET: http://localhost:8080/users

Get one user

GET: http://localhost:8080/users/0675171368e011e882d5acde48001122

Login

GET: http://localhost:8080/[email protected]&password=mypassword

About

An example to create a clean architecture with Java 11

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%