# thebuggeddev/anatomy

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/thebuggeddev-anatomy).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

3,881 stars · 984 forks · TypeScript

## Links

- GitHub: https://github.com/thebuggeddev/anatomy
- Homepage: https://anatomyatelier.vercel.app
- awesome-repositories: https://awesome-repositories.com/repository/thebuggeddev-anatomy.md

## Description

Anatomy is a full-stack web application starter written in TypeScript that is built to run as a serverless worker at the network edge. It gives new projects a ready-made app layout, a local development server, and a production build path, with database and object storage declared in a hosting config and simulated locally so data features can be developed without deploying.

Identity comes from the hosting layer rather than from sessions managed by the app: the signed-in user's email and an optional encoded name are read from request headers. Protected server-rendered pages check the visitor on the server and send anonymous users through a hosted sign-in flow. Sign-in and sign-out links carry a relative return path that is validated to stay on the same origin. Public pages can also look up the current user without forcing login, showing account-aware interface only to signed-in visitors.

Every page is served under a locale path segment, and requests to the site root are redirected to the default language. Tooling is included to audit translation coverage and export translation strings. A notes API with routes to create and read stored notes is backed by schema files and generated SQL migrations. Quality checks cover linting, strict TypeScript checking, edge worker type definitions, and tests that build the app and inspect the generated HTML. A Vercel build configuration is also included.

## Tags

### Development Tools & Productivity

- [Full-Stack Starter Kits](https://awesome-repositories.com/f/development-tools-productivity/frontend-starter-kits/full-stack-starter-kits.md) — Provides a ready-made full-stack project template running on edge workers with simulated database and object storage for local development.
- [Full-Stack Application Scaffolders](https://awesome-repositories.com/f/development-tools-productivity/project-scaffolding-config-code-generation/project-scaffolding-configuration/project-scaffolding/project-scaffolders/full-stack-application-scaffolders.md) — Provides a ready-made full-stack project layout with an app directory, dev server and production build so development starts from a working structure. ([source](https://github.com/thebuggeddev/anatomy/tree/main/examples/d1))

### DevOps & Infrastructure

- [Edge Deployments](https://awesome-repositories.com/f/devops-infrastructure/worker-deployment-inspection/cloudflare-workers-deployments/edge-deployments.md) — Runs the whole app as a serverless worker at the network edge, with platform type definitions checked at compile time.
- [Declarative Storage Bindings](https://awesome-repositories.com/f/devops-infrastructure/declarative-storage-bindings.md) — Declares database and object storage bindings in a hosting config and simulates them locally so data features work without deploying.

### Networking & Communication

- [Locale-Aware Routings](https://awesome-repositories.com/f/networking-communication/url-routing-configurations/locale-aware-routings.md) — Serves every page under a locale path segment so each language gets its own URL and localized content. ([source](https://github.com/thebuggeddev/anatomy/tree/main/app))

### Security & Cryptography

- [Header-Based Identity Layers](https://awesome-repositories.com/f/security-cryptography/header-based-identity-layers.md) — Reads the user's email and encoded name from host-injected request headers and redirects anonymous visitors to a hosted sign-in.
- [Sign-In Gated Pages](https://awesome-repositories.com/f/security-cryptography/sign-in-gated-pages.md) — Redirects anonymous visitors through a hosted sign-in flow before protected pages render, then returns them to a validated same-origin path.
- [Identity Header Injections](https://awesome-repositories.com/f/security-cryptography/user-identity-management/identity-header-injections.md) — Reads the signed-in user's email and encoded name from request headers injected by the hosting layer instead of managing sessions.
- [Web Sign-in Flows](https://awesome-repositories.com/f/security-cryptography/web-sign-in-flows.md) — Redirects anonymous visitors to a hosted sign-in flow on protected pages, then returns them to a safe same-origin path. ([source](https://github.com/thebuggeddev/anatomy/blob/main/README.md))
- [Header-Based User Identification](https://awesome-repositories.com/f/security-cryptography/header-based-user-identification.md) — Read a signed-in user's email and an optional percent-encoded full name from request headers injected by the host, falling back to email when the name is missing. ([source](https://github.com/thebuggeddev/anatomy#readme))
- [Optional Sign-In Experiences](https://awesome-repositories.com/f/security-cryptography/optional-sign-in-experiences.md) — Lets public pages look up the current user without forcing login and shows account-aware interface only when signed in.
- [Optional Sign-In Links](https://awesome-repositories.com/f/security-cryptography/optional-sign-in-links.md) — Builds validated sign-in and sign-out links and exposes the current user so public pages can show signed-in interface optionally. ([source](https://github.com/thebuggeddev/anatomy/blob/main/README.md))
- [User Identity Management](https://awesome-repositories.com/f/security-cryptography/user-identity-management.md) — Reads the authenticated user's email and optional decoded full name, falling back to the email when no name exists. ([source](https://github.com/thebuggeddev/anatomy/blob/main/README.md))

### Web Development

- [Authenticated Page Gating](https://awesome-repositories.com/f/web-development/full-page-server-rendering/authenticated-page-gating.md) — Checks visitor identity on the server before rendering protected pages and redirects anonymous users through a hosted sign-in flow.
- [Database-Backed Notes APIs](https://awesome-repositories.com/f/web-development/database-backed-notes-apis.md) — Provides API routes to create and read stored notes, backed by schema files and generated SQL migrations.
- [Identity-Checked Pages](https://awesome-repositories.com/f/web-development/full-page-server-rendering/identity-checked-pages.md) — Checks visitor identity on the server before rendering, sending anonymous users to sign in and back to a same-origin path.

### Content Management & Publishing

- [Internationalization & Localization](https://awesome-repositories.com/f/content-management-publishing/content-processing-transformation/internationalization-localization.md) — Keeps internationalization configuration and message resources in a dedicated directory used to localize the interface per language. ([source](https://github.com/thebuggeddev/anatomy/tree/main/app))
- [Locale Redirections](https://awesome-repositories.com/f/content-management-publishing/locale-redirections.md) — Redirects requests for the site root to the default language path with a temporary redirect since no root page exists. ([source](https://github.com/thebuggeddev/anatomy/blob/main/next.config.ts))

### Data & Databases

- [Serverless Storage Bindings](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-persistence-storage/data-storage/client-side-persistence/local-storage-solutions/serverless-storage-bindings.md) — Declares optional database and object storage bindings in a hosting config and simulates them locally for development without deploying. ([source](https://github.com/thebuggeddev/anatomy/blob/main/README.md))

### Software Engineering & Architecture

- [Database Schema Migrations](https://awesome-repositories.com/f/software-engineering-architecture/data-migrators/database-schema-migrations.md) — Generates versioned SQL migrations from schema files with an ORM toolkit so storage stays reproducible across environments.

### User Interface & Experience

- [Multilingual Interface Localization](https://awesome-repositories.com/f/user-interface-experience/multilingual-interface-localization.md) — Serves the interface in multiple languages under locale URLs, with tooling to audit and export translation strings.
