backend

package module
v0.0.0-...-be3a0aa Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package backend is the root module for mddb, a local-first markdown database server with file storage, user authentication, and a RESTful HTTP API.

Directories

Path Synopsis
cmd
mddb command
Package main is the entry point for the mddb server.
Package main is the entry point for the mddb server.
Package frontend embeds the compiled SolidJS web UI assets.
Package frontend embeds the compiled SolidJS web UI assets.
internal
apiclient command
Command apiclient generates a TypeScript API client from router.go and handler signatures.
Command apiclient generates a TypeScript API client from router.go and handler signatures.
apiroutes command
Command apiroutes extracts API routes from router.go and generates docs/API.md.
Command apiroutes extracts API routes from router.go and generates docs/API.md.
jsonldb
Package jsonldb provides a generic, concurrent-safe, JSONL-backed data store.
Package jsonldb provides a generic, concurrent-safe, JSONL-backed data store.
server
Package server implements HTTP routing, middleware, and request handling.
Package server implements HTTP routing, middleware, and request handling.
server/dto
Package dto defines API request/response types and error handling.
Package dto defines API request/response types and error handling.
server/handlers
Package handlers provides HTTP request handlers for the REST API.
Package handlers provides HTTP request handlers for the REST API.
storage/content
Package content provides versioned file storage for the mddb system.
Package content provides versioned file storage for the mddb system.
storage/identity
Package identity provides services for user authentication and organization management.
Package identity provides services for user authentication and organization management.
utils
Package utils provides shared utility functions across the application.
Package utils provides shared utility functions across the application.

Jump to

Keyboard shortcuts

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