kit

module
v0.0.5-0...-8e55a6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2023 License: Apache-2.0

README

This project is under development

GO-SAAS-KIT Starter kit for golang sass project
docs
Overview

Overview

Architecture

Architecture

Demo

address http://saas.nihaosaoya.com (Shanghai)

  • Host Username:admin Password:123456

Feature

  • Saas
  • Modularity
  • ACL(Access Control List), RBAC(Role-based Access Control)
  • Localization
  • Microservice/Monolithic compatible
  • Distributed Eventbus: kafka, pulsar
  • Cache (Redis)
  • Background Job: asynq
  • Virtual File System: vfs
  • Distributed Transaction: dtm
  • OpenId Connect: ory
  • Logging/Tracing

Modules

  • User Management
  • Tenant Management, Tenant Plans and Subscription
  • Payments and Orders
  • Product Management

Quick Start

For Microservice
docker compose -f docker-compose.yml -f docker-compose.ms.yml -f docker-compose.kafka.yml -f docker-compose.tracing.yml up -d

Or with build

docker compose -f docker-compose.yml -f docker-compose.ms.yml -f docker-compose.kafka.yml  -f docker-compose.tracing.yml up -d --build
Demo

Open http://localhost:80 to see the web ui

Username: admin
Password: 123456

Development

make init
make all
make build

Create New Service

kratos new <name> -r https://github.com/go-saas/kit-layout.git

Frontend Repo: https://github.com/go-saas/kit-frontend
Layout Repo( For creating new service): https://github.com/go-saas/kit-layout

Directories

Path Synopsis
cmd
dtm
api
examples
monolithic Module
gateway
apisix Module
oidc
api
order
api
payment
api
pkg
api
dal
di
errors
Package errors https://github.com/gin-gonic/gin/blob/master/recovery.go
Package errors https://github.com/gin-gonic/gin/blob/master/recovery.go
idp
job
sms
uow
product
api
realtime
api
saas
api
sys
api
user
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL