Commit Graph

4 Commits

Author SHA1 Message Date
511bb6685b fix(frontend): display file content when opening existing files
Fix issue where file content was not displayed when opening files. Added fileContent state to store and pass file content to MarkdownEditor component.
2026-02-05 16:01:21 -05:00
817b3783f2 fix(server): fix route conflict by using /dist prefix for static assets
Previously, static assets were served from the root "/" and "/assets" routes,
   which caused conflicts with the "/api" route. Changed to serve all static
   assets under the "/dist" prefix to avoid route collisions.
2026-02-05 16:01:18 -05:00
482d8a448a Initial commit: WYSIWYG Markdown Editor - Go backend + React/TypeScript frontend with Tailwind CSS
Backend:
- Cobra CLI with --data-dir, --port, --host flags
- Gin HTTP server with REST API for markdown CRUD operations
- File storage on disk (.md files only)
- Comprehensive logrus logging
- Backend tests with CRUD round-trip verification

Frontend:
- React 18 + TypeScript + Tailwind CSS
- Markdown editor with live GFM preview (react-markdown + remark-gfm)
- File management UI (list, create, open, save, delete)
- Theme switcher with Dark/Light/System modes
- Responsive design
- Frontend tests with vitest

Testing:
- All backend tests pass (go test ./...)
- All frontend tests pass (npm test)
2026-02-05 15:44:06 -05:00
c2a225fd29 Initial: setup evaluation environment 2026-02-05 14:18:11 -05:00