Giter Site home page Giter Site logo

mall-gf-dapr's Introduction

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

mall-gf-dapr's People

Contributors

117503445 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.