kit icon indicating copy to clipboard operation
kit copied to clipboard

Microservice compatible starter kit for golang saas project

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

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

Modules

  • [x] User Management
  • [x] Tenant Management, Tenant Plans and Subscription
  • [x] Payments and Orders
  • [x] 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