← Back

Documentation

Architecture and contributing guide for Mathua.

1.
Architecture

Full system design: 5-layer architecture, data model, request flow, grading, CAT diagnostic, and trade-offs.

2.
Contributing

Add a concept, write a generator, pass the validator.

Quickstart (for contributors)

git clone https://github.com/chuma-beep/mathua.git
cd mathua
go build ./cmd/mathua

# Run the web server (requires Postgres)
DATABASE_URL=postgres://... ./mathua --serve --port 8080

Requirements: Go 1.21+ · New to Mathua? Start with How it works.