MaikHenriqueSP / Hexagonal-Golang

This is an ongoing project that it is intended as a practical application of the Hexagonal architecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🚧 This is a working in progress 🚧

Business Rules

This implementation aims to simulate a library.

Each book must have an author, ISBN, title, publisher and publication date.

Each book may be loaned by a user.

Each user is identified by a full name and id.

For simplicity's sake, we'll assume that the library has an infinite number of books.

Each loan is identified by an user, a book, a laon date, a return date and an id. Which implies that only registered users are allowed to loan books. By default, the return date is 15 days, but it can be extended throguh a request, each request extends 5 days, limited to 3 request.

An user can consult the days left of the loan.

A user may return a loaned book.

The library also may receive request for registering new books.

About

This is an ongoing project that it is intended as a practical application of the Hexagonal architecture


Languages

Language:Go 100.0%