notes

command
v1.23.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Command notes is a small, real app showing decorator-form registration (//@provide / //@rest / //@query in the notes package) coexisting with an explicit hand-written endpoint — all on one DI container and one dashboard.

nexus generate handlers ./examples/notes   # writes notes/nexus_handlers_gen.go
go run ./examples/notes                    # REST + GraphQL + /__nexus dashboard

In dev you'd just run `nexus dev ./examples/notes` — the generate step is injected via overlay, so no committed file is needed to iterate.

Directories

Path Synopsis
Package widgets is a stand-in for an extension (think inertia) that ships its OWN decorator.
Package widgets is a stand-in for an extension (think inertia) that ships its OWN decorator.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL