This is a teaching project for newbie using CloudWeGo
technology | introduce |
---|---|
cwgo | - |
kitex | - |
bootstrap | Bootstrap is a powerful, feature-packed frontend toolkit. Build anything—from prototype to production—in minutes. |
Hertz | - |
MySQL | - |
Redis | - |
ES | - |
Prometheus | - |
Jaeger | - |
Docker | - |
- The pages check auth
- Register
- Login
- Logout
- Product categories
- Products
- Add to cart
- The number badge of cart products
- Checkout
- Payment
- Orders center
List required
- Go
- IDE / Code Editor
- Docker
- cwgo
- kitex
go install github.com/cloudwego/kitex/tool/cmd/kitex@latest
- Air
- ...
git clone ...
make init
Note:You must generate and input SESSION_SECRET random value for session
make tidy
make env-start
if you want to stop their docker application,you can run make env-stop
.
This cmd must appoint a service.
Note: Run the Go server using air. So it must be installed
make run svc=`svcName`
make open-gomall
make open-consul
make