serviceweaver-calculator
Experimenting with serviceweaver
Running the sample
Prerequisites:
- Go 1.20
- NodeJS (any modern version)
- Install Serviceweaver
go install github.com/ServiceWeaver/weaver/cmd/weaver@latest
- Build the client application
cd react-calculator/client
npm install && npm run build
cd ../..
- Run the client application
cd react-calculator
npm start
Leave it running
- Run the service (new console)
Open a new console
weaver multi deploy weaver.toml
- Open browser
Visit http://localhost:8080
for the calculator