Skip to content

117503445/mall-gf-dapr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mall-gf-dapr

microservice mall based on goframe and dapr

dev

docker-compose -f docker-compose-dev.yml up -d

cd /root/project/mall-gf-dapr/src/app/user && gf run main.go
cd /root/project/mall-gf-dapr/src && gf gen dao --path ./app/user -l "mysql:root:12345678@tcp(db:3306)/user"

cd /root/project/mall-gf-dapr/src/app/template && gf run main.go

cd /root/project/mall-gf-dapr/src/app/product && gf run main.go
cd /root/project/mall-gf-dapr/src && gf gen dao --path ./app/product -l "mysql:root:12345678@tcp(db:3306)/product"
clear && cd /root/project/mall-gf-dapr/src/app/product && dapr run --app-port 28001 --app-id product --dapr-grpc-port 3500 -- gf run main.go
cd /root/project/mall-gf-dapr/src/app/product/api && protoc --go_out=./ product.proto


cd /root/project/mall-gf-dapr/src/app/order && gf run main.go
cd /root/project/mall-gf-dapr/src && gf gen dao --path ./app/order -l "mysql:root:12345678@tcp(db:3306)/order"
clear && cd /root/project/mall-gf-dapr/src/app/order &&  dapr run --app-port 28002 --app-id order --dapr-grpc-port 3501 -- gf run main.go

cd /root/project/mall-gf-dapr/src && gf gen dao --path ./app/pay -l "mysql:root:12345678@tcp(db:3306)/pay"
clear && cd /root/project/mall-gf-dapr/src/app/pay &&  dapr run --app-port 28003 --app-id pay --dapr-grpc-port 3502 -- gf run main.go

dapr dashboard

clear && cd /root/project/mall-gf-dapr/src/mall-js-sdk && node main.js

http://localhost:3307/

create database: casdoor

http://localhost:18000/

./src/script/casdoor/init.sql

api

https://learnku.com/articles/64567

https://github.com/nivin-studio/go-zero-mall

services

Releases

No releases published

Packages

No packages published

Languages