command
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Apr 8, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
ΒΆ
Goilerplate
For the perfect structure. π₯π₯π₯
Contents
Implemented Features
-
Routing - Gin Web Framework ----------------------------π :octocat:
-
CLI - Cobra -------------------------------------------------π :octocat:
-
Dependency Injection - Fx --------------------------------π :octocat:
-
Environment - Viper ---------------------------------------:octocat:
-
Logging - Zap ----------------------------------------------:octocat:
-
PostgreSQL - GORM ---------------------------------------π :octocat:
-
Redis - Go-Redis -------------------------------------------π :octocat:
-
DB Viewer - pgAdmin4 (Web) -----------------------------π³
-
Authentication - JWT (Access + refresh) ------------------:octocat:
Kubernetes
- Deployment
- ConfigMap
- Service
- PersistentVolume
- PersistentVolumeClaim
- Deployment
- ConfigMap
- Service
- Deployment
- Service
- PersistentVolume
- PersistentVolumeClaim
Quick start
Docker-Compose Infra
- Make sure you have docker installed.
- Copy
/env/stage.env
to .env
- Run
docker-compose up -d
- API Host: localhost:5000
- [POST] auth/signup
- [POST] auth/signin
- [GET] user/info
- DB Viewer Host: localhost:8080
Kubernetes Infra
- Make sure you have kubectl(Kubernetes) installed.
- Run
kubectl apply -f .\k8s\
- API Host: localhost:32000
- [POST] auth/signup
- [POST] auth/signin
- [GET] user/info
- DB Viewer Host: localhost:30080
Auth API (Postman Tool)
- SignUp
- SignIn
- User Info
Documentation
ΒΆ
There is no documentation for this package.
Source Files
ΒΆ
Directories
ΒΆ
api
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.