This is GoDeep Base
- go (of course)
- redis (use staging env)
- mariadb/mysql (use staging env)
- phpmyadmin (use on the staging env)
- Clone this repository
- Copy
.env.template
and create your own.env
file and fill the config. - run the app using
go run main.go
- Prepare all requisites
- run
./build.sh
This is the current structure of the project
.
├── Dockerfile
├── README.MD
├── application
│ └── ..
├── build.sh
├── domain
│ ├── entity
│ │ └── ..
│ ├── enum
│ │ ├── ..
│ ├── repository
│ │ └── ..
│ └── service
├── go.mod
├── go.sum
├── infrastructure
│ ├── auth
│ │ ├── ..
│ ├── persistence
│ │ ├── ..
│ └── security
│ └── ..
├── interfaces
│ ├── fileupload
│ │ ├── ..
│ ├── middleware
│ │ └── ..
│ ├── routers
│ │ ├── ..
│ └── ..
├── main.go
└── utils
├── ..
Nansuri @2023