Simple CRUD API with GIN webserver framework and GORM SQL ORM with MVC design pattern and and using depedency injection instead of direct import to improve scalability
- Go v1.19
- MySQL v8.0.30
- Make a Copy of .env.example file in current directory, fill the database credential, then rename the file to .env
- Run server with
go run main.go