Source: https://seerepo.com/r/dgraph-io/dgraph/built
Markdown source: https://seerepo.com/r/dgraph-io/dgraph/built.md
Description: dgraph is a Go repo built with net/http. It stores its data in Dgraph and MySQL. It has 268,878 written lines, with 306 test files.

# What is dgraph built with?

dgraph is a Go repo built with net/http. It stores its data in Dgraph and MySQL, signs people in with github.com/golang-jwt/jwt/v5 and github.com/go-jose/go-jose/v4, uses AI through mcp-go, is tested with github.com/stretchr/testify and github.com/google/go-cmp, deploys with github.com/golang/glog, OpenTelemetry, go.opentelemetry.io/otel, go.opencensus.io, Docker, and 6 more, and uses MCP and Kafka. It has 268,878 written lines, with 306 test files.

Read on November 5, 2026, at commit c587cba.

Repository: https://github.com/dgraph-io/dgraph

## Backend

### The base

- **[net/http](https://seerepo.com/uses/net-http)**

### Data

- **Dgraph**: 51 files
- **[MySQL](https://seerepo.com/uses/mysql)**: 3 files · [dgraph/cmd/migrate/table_guide.go, line 13](https://github.com/dgraph-io/dgraph/blob/c587cba75f60445125459b46b4d81757a73384aa/dgraph/cmd/migrate/table_guide.go#L13)

### Sign-in

- **github.com/golang-jwt/jwt/v5**: 8 files
- **github.com/go-jose/go-jose/v4**: 1 file

### AI

- **mcp-go**

### Services

- **[MCP](https://seerepo.com/uses/mcp)**: 3 files · [dgraph/cmd/alpha/run.go, line 27](https://github.com/dgraph-io/dgraph/blob/c587cba75f60445125459b46b4d81757a73384aa/dgraph/cmd/alpha/run.go#L27)
- **[Kafka](https://seerepo.com/uses/kafka)**: 1 file · [worker/sink_handler.go, line 19](https://github.com/dgraph-io/dgraph/blob/c587cba75f60445125459b46b4d81757a73384aa/worker/sink_handler.go#L19)

## Support

### Testing

- **github.com/stretchr/testify**: 244 files
- **github.com/google/go-cmp**: 12 files

### Deploy

- **github.com/golang/glog**: 135 files
- **[OpenTelemetry](https://seerepo.com/uses/opentelemetry)**: 20 files
- **go.opentelemetry.io/otel**: 19 files
- **go.opencensus.io**: 17 files
- **Docker**: 6 files
- **go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc**: 4 files
- **go.opentelemetry.io/otel/exporters/otlp/otlptrace**: 1 file
- **go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp**: 1 file
- **[go.opentelemetry.io/otel/sdk](https://seerepo.com/uses/goopentelemetryio-otel-sdk)**: 1 file
- **go.uber.org/zap**: 1 file
- **[Prometheus](https://seerepo.com/uses/prometheus)**: 1 file

### Tools

- **github.com/spf13/cobra**: 22 files
- **golang.org/x/mod**: 1 file
- **golang.org/x/tools**: 1 file

### Other

- **github.com/pkg/errors**: 136 files
- **google.golang.org/protobuf**: 39 files
- **[Google](https://seerepo.com/uses/google)**: 30 files
- **github.com/spf13/viper**: 17 files
- **github.com/dustin/go-humanize**: 14 files
- **github.com/spf13/pflag**: 8 files
- **github.com/dgryski/go-farm**: 7 files
- **github.com/klauspost/compress**: 5 files
- **golang.org/x/sync**: 5 files
- **golang.org/x/text**: 4 files
- **golang.org/x/crypto**: 2 files
- **gopkg.in/yaml.v3**: 2 files
- **containerd**: 1 file
- **github.com/docker/go-connections**: 1 file
- **github.com/golang/snappy**: 1 file
- **github.com/google/uuid**: 1 file
- **github.com/gorilla/websocket**: 1 file
- **github.com/Masterminds/semver/v3**: 1 file
- **github.com/soheilhy/cmux**: 1 file
- **github.com/spf13/cast**: 1 file
- **golang.org/x/exp**: 1 file
- **golang.org/x/sys**: 1 file
- **golang.org/x/term**: 1 file
- **Vault**: 1 file

## Other repos with a similar stack

- [temporalio/temporal](https://seerepo.com/r/temporalio/temporal/built): MySQL, github.com/go-jose/go-jose/v4, OpenTelemetry, go.opentelemetry.io/otel, go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, go.opentelemetry.io/otel/sdk, go.uber.org/zap, Prometheus · [Compare](https://seerepo.com/compare/dgraph-io/dgraph/vs/temporalio/temporal)
- [jaegertracing/jaeger](https://seerepo.com/r/jaegertracing/jaeger/built): net/http, MCP, go.opentelemetry.io/otel, go.opentelemetry.io/otel/exporters/otlp/otlptrace, go.opentelemetry.io/otel/sdk, go.uber.org/zap, Prometheus · [Compare](https://seerepo.com/compare/dgraph-io/dgraph/vs/jaegertracing/jaeger)
- [infiniflow/ragflow](https://seerepo.com/r/infiniflow/ragflow/built): net/http, MySQL, MCP, github.com/golang-jwt/jwt/v5, OpenTelemetry, go.uber.org/zap · [Compare](https://seerepo.com/compare/dgraph-io/dgraph/vs/infiniflow/ragflow)
- [moby/moby](https://seerepo.com/r/moby/moby/built): net/http, OpenTelemetry, go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, go.opentelemetry.io/otel/sdk, Prometheus · [Compare](https://seerepo.com/compare/dgraph-io/dgraph/vs/moby/moby)
- [prometheus/prometheus](https://seerepo.com/r/prometheus/prometheus/built): OpenTelemetry, go.opentelemetry.io/otel/exporters/otlp/otlptrace, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, go.opentelemetry.io/otel/sdk, Prometheus · [Compare](https://seerepo.com/compare/dgraph-io/dgraph/vs/prometheus/prometheus)
- [traefik/traefik](https://seerepo.com/r/traefik/traefik/built): OpenTelemetry, go.opentelemetry.io/otel/exporters/otlp/otlptrace, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, go.opentelemetry.io/otel/sdk, Prometheus · [Compare](https://seerepo.com/compare/dgraph-io/dgraph/vs/traefik/traefik)

## Frequently asked questions

### What language is dgraph written in?

dgraph is written in Go, with 268,878 written lines.

### What framework does dgraph use?

dgraph is built with net/http.

### What database does dgraph use?

dgraph stores its data in Dgraph and MySQL.

### What does dgraph sign people in with?

dgraph signs people in with github.com/golang-jwt/jwt/v5 and github.com/go-jose/go-jose/v4.

### Does dgraph use AI?

Yes. dgraph uses AI through mcp-go.

### What services does dgraph use?

dgraph uses MCP and Kafka.

The proof: [dgraph/cmd/alpha/run.go, line 27](https://github.com/dgraph-io/dgraph/blob/c587cba75f60445125459b46b4d81757a73384aa/dgraph/cmd/alpha/run.go#L27)

### Does dgraph have tests?

Yes. dgraph has 306 test files and is tested with github.com/stretchr/testify and github.com/google/go-cmp.

### Which repos have a stack like dgraph's?

The ones that share most of its stack: temporalio/temporal, jaegertracing/jaeger, and infiniflow/ragflow.

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
