Simple api handled with dependency injection with a Nier:Automata tematic.
- Golang: Language used across the project.
- Iris: Golang framework.
- Hero: Dependency injection helper for iris.
- Gorm: Orm helper for golang.
Create a mysql database called yorha_db with user yorha_user and pass yorha_pass
Grant all privileges to the user
In order to populate the database run yorha-migration.go that will create everything in the database
go run yorha-migration.go
go run main.go