Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,20 @@ curl 'http://localhost:8080/login' -H 'Authorization: Basic dGVzdDp0ZXN0'

## Creating new users

Use the Swagger for access the endpoint `/user` and create a new user.
Use the Swagger for access the endpoint `/user` and create a new user.

## DDD with event storm

The team chose to use [Miro](https://miro.com/) to document this deliverable, available at the [link](https://miro.com/app/board/uXjVLr7Fxbo=/).

The diagram contains:

* System documentation in DDD with Event Storm
* Caption for the ubiquitous language used
* Additional details to understand the proposed resolution
* Worker flow
* API flow

![ubiquitous language](./assets/linguagem%20ubiqua.png)

![event storm](./assets/event%20storm.png)
Binary file added assets/event storm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/linguagem ubiqua.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion cmd/http/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"gorm.io/gorm"
)

// @title Thumb processor worker
// @title Thumb Processor API
// @version 0.1.0
// @description Hackathon

Expand Down
2 changes: 1 addition & 1 deletion docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ var SwaggerInfo = &swag.Spec{
Host: "localhost:8080",
BasePath: "/",
Schemes: []string{},
Title: "Thumb processor worker",
Title: "Thumb Processor API",
Description: "Hackathon",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"description": "Hackathon",
"title": "Thumb processor worker",
"title": "Thumb Processor API",
"contact": {},
"version": "0.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ host: localhost:8080
info:
contact: {}
description: Hackathon
title: Thumb processor worker
title: Thumb Processor API
version: 0.1.0
paths:
/health:
Expand Down
Loading