A teaching backend for exploring Bruno capabilities. Use this with the Hands-On tutorial for Bruno to explore Bruno's capabilities.
This application simulates a doggy daycare backend with features for:
- Dogs: Profile management.
- Attendance: Check-in/Check-out tracking and real-time status updates.
- Social: Managing friendships between dogs.
- Feed: Posting updates and streaming them via WebSockets.
- Go 1.25+
- grpcurl (for gRPC verification)
To build the server:
./scripts/build.sh
# This will create the api_server binaryThen run the server:
./api_server
Starting server on :8080
Starting gRPC server on :50051To verify that it's running, open a separate terminal and run:
curl http://localhost:8080/health
OKTo verify that the server is running correctly, run:
./scripts/verify.sh
# Runs the server in the background and performs several requests to verify that it is running correctly.Note: The script launches the server in the background. Make sure that nothing is listening on ports 8080 and 50051 before running the script.
Configuration is handled via environment variables:
PORT: Port for REST API + WebSockets (default:8080)GRPC_PORT: Port for gRPC server (default:50051)DB_PATH: Path to SQLite database (default:doggy_daycare.db)