Skip to content

nansuri/godeep-base

Repository files navigation

osp-be-gp Service

This is GoDeep Base

Prequisites

Local Run

  • go (of course)
  • redis (use staging env)
  • mariadb/mysql (use staging env)
  • phpmyadmin (use on the staging env)

Usage

Local Use

  1. Clone this repository
  2. Copy .env.template and create your own .env file and fill the config.
  3. run the app using go run main.go

Production Use

  1. Prepare all requisites
  2. run ./build.sh

Structure

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
    ├── ..

License

Nansuri @2023

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published