gofr-dev/gofr

View on GitHub
examples/http-server/README.md

Summary

Maintainability
Test Coverage
# HTTP Server Example

This GoFr example demonstrates a simple HTTP server which supports Redis and MySQL as datasources.

### To run the example follow the steps below:

- Run the docker image of the application
```console
docker-compose up -d
```

To test the example, follow these steps:

1. Open your browser and navigate to `http://localhost:9000/hello`.
2. To view the GoFr trace, open `https://tracer.gofr.dev` and paste the traceid.
3. To view the Grafana Dashboard open `http://localhost:3000`