module
Version:
v0.0.0-...-bdc88ad
Opens a new window with list of versions in this module.
Published: Jul 24, 2023
License: MIT
Opens a new window with license information.
README
¶
proto-hornex
An application that register users for a tournament platform
- auth
- search
- tournaments
- teams
-
framework
-
routers
-
database
-
application
-
services
-
repositories
-
domain
-
models
RegisterUserUseCase (UML)
-> input
{ "firstName": "", "lastName": "", "email": "", "dateOfBirth": "", }
==================
- controllers (UserParams)
- services (UserParams)
- repositories (UserParams) User
-> ouput
{ "id": "" }
Challenge
Build a API REST in Go
Rules
- Entity (Use Cases)
- Repository (DB)
- Service (Business Logic)
- Router (Handlers) (HTTP)
- Validator (Checks for errors)
Entities
Use Cases (CRUD)
- Create User Use Case
- Update User Use Case
- Delete User Use Case
- List Users Use Case
- Get User Use Case
Click to show internal directories.
Click to hide internal directories.