How anyway-one/anywayone-blog works
Anywayone Blog combines a reader-facing Next.js site, a React administration console, and a FastAPI content API. Readers browse published posts, taxonomy pages, photography, and site information; administrators authenticate and manage content through the console and API. The backend provides domain services over PostgreSQL, including media storage and post rendering. The README documents several capabilities whose implementation was not sampled; those are represented at subsystem level, and their relationships are cited to the README rather than inferred from unseen code.
Main entry points: router.py API router · app Site pages · App.tsx Admin routes · api Admin API client
Components 24
Reader website
- Site pages
web/app - Home experience
web/components/home-experience.tsx - Post browsing
web/app/posts - Taxonomy pages
web/components/taxonomy-post-page.tsx - Photography
web/app/photography - RSS feed
web/app/rss.xml/route.ts - Site status
web/app/status/page.tsx
Admin console
- Admin routes
admin/src/App.tsx - Admin authentication
admin/src/auth/AuthProvider.tsx - Post editor
admin/src/pages/PostEditorPage.tsx - Content management
admin/src/pages - Admin API client
admin/src/api
API runtime
- FastAPI application
backend/app/main.py - API router
backend/app/api/router.py
Content services
- Authentication service
backend/app/modules/auth/service.py - Posts service
backend/app/modules/posts/service.py - Taxonomy service
backend/app/modules/taxonomy/service.py - Photography service
backend/app/modules/photography/service.py - Site settings service
backend/app/modules/site/service.py - Media service
backend/app/modules/media/service.py
Persistence and media
- Object storage
backend/app/core/storage.py - PostgreSQL
Other components
- Reader
- Administrator
Connections 33
- Reader → Site pages: browses
README.md - Site pages → Home experience: renders
web/components/home-experience.tsx - Site pages → Post browsing: routes to
README.md - Site pages → Taxonomy pages: routes to
README.md - Site pages → Photography: routes to
README.md - Site pages → RSS feed: serves
README.md - Site pages → Site status: routes to
README.md - Home experience → Site status: shows status
web/components/home-experience.tsx - Post browsing → API router: fetches public posts
README.md - Taxonomy pages → API router: fetches public posts
README.md - Photography → API router: uses photography API
- Administrator → Admin routes: manages content
README.md - Admin routes → Admin authentication: guards routes
admin/src/App.tsx - Admin routes → Post editor: routes to
admin/src/App.tsx - Admin routes → Content management: routes to
admin/src/App.tsx - Admin authentication → Admin API client: uses auth client
admin/src/auth/AuthProvider.tsx - Post editor → Admin API client: uses API clients
admin/src/pages/PostEditorPage.tsx - Content management → Admin API client: calls management APIs
README.md - Admin API client → API router: sends API requests
README.md - FastAPI application → API router: mounts routes
backend/app/main.py - API router → Authentication service: dispatches auth
backend/app/api/router.py - API router → Posts service: dispatches posts
backend/app/api/router.py - API router → Taxonomy service: dispatches taxonomy
backend/app/api/router.py - API router → Photography service: dispatches photography
backend/app/api/router.py - API router → Site settings service: dispatches site
backend/app/api/router.py - API router → Media service: dispatches media
backend/app/api/router.py - Posts service → PostgreSQL: reads and writes
backend/app/modules/posts/service.py - Taxonomy service → PostgreSQL: reads and writes
backend/app/modules/taxonomy/service.py - Photography service → PostgreSQL: reads and writes
backend/app/modules/photography/service.py - Site settings service → PostgreSQL: reads and writes
backend/app/modules/site/service.py - Media service → PostgreSQL: records media
backend/app/modules/media/service.py - Media service → Object storage: stores objects
backend/app/modules/media/service.py - Object storage → PostgreSQL: uses configured backend