Skip to content

evpeople/douyin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

douyin

Introduction

a demo backend of demo-douyin,the demo is divided into ? main sections.

Service Name Usage Framework protocol Path IDL
demoapi http interface kitex/gin http cmd/api
demouser user data management kitex/gorm protobuf cmd/core/user idl/user.proto

call relations

后续补充

catalog introduce

catalog introduce
pkg/constants constant
pkg/errno customized error number
pkg/middleware RPC middleware
pkg/tracer init jaeger
dal db operation
pack data pack
service business logic

Quick Start

1.Setup Basic Dependence

docker-compose up

2.Run User RPC Server

cd cmd/core/user
sh build.sh
sh output/bootstrap.sh

3.Run API Server

cd cmd/api
chmod +x run.sh
./run.sh

4.Jaeger

visit http://127.0.0.1:16686/ on browser.

API request

the doc of api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published