go-micro.dev/v5@v5.12.0/internal/website/docs/server.md (about)

     1  ---
     2  layout: default
     3  ---
     4  
     5  # Micro Server (Optional)
     6  
     7  The Micro server is an optional API and dashboard that provides a fixed entrypoint for discovering and interacting with services. It is not required to build or run services; the examples in this documentation run services directly with `go run`.
     8  
     9  ## Install
    10  
    11  Install the CLI which includes the server command:
    12  
    13  ```bash
    14  go install go-micro.dev/v5/cmd/micro@latest
    15  ```
    16  
    17  ## Run
    18  
    19  Start the server:
    20  
    21  ```bash
    22  micro server
    23  ```
    24  
    25  Then open http://localhost:8080 in your browser.
    26  
    27  ## When to use it
    28  - Exploring registered services and endpoints
    29  - Calling endpoints via a web UI or HTTP API
    30  - Local development and debugging
    31  
    32  Note: The server is evolving and configuration or features may change. For CLI usage details, see `cmd/micro/cli/README.md` in this repository.