Commit Graph

4 Commits

Author SHA1 Message Date
d2d8370c95 feat: add CORS middleware to backend server
Add cross-origin resource sharing support to the backend API to fix
frontend console errors when accessing resources from different origins.
The middleware handles preflight requests and includes necessary CORS
headers for API endpoints.

Fixes: Cross-Origin Request Blocked error
2026-02-05 18:21:47 -05:00
8e04f51b2d fix(frontend): resolve npm install and development server issues
Downgrade eslint to v8.57.0 and TypeScript to v4.9.5 to match
react-scripts@5.0.1 requirements. Force install ajv@8.17.1 and
ajv-keywords@5.1.0 to resolve peer dependency conflicts. Add missing
dependencies (remark-gfm, rehype-highlight, @testing-library/dom).
Update test imports to work with @testing-library/react@16.
2026-02-05 18:16:41 -05:00
5b67cb61d2 feat(markdown-editor): implement wysiswyg markdown editor with live preview
- Build Go backend with Cobra CLI and REST API
  - CRUD operations for markdown files (GET, POST, PUT, DELETE)
  - File storage with flat .md file structure
  - Comprehensive logrus logging with JSON format
  - Static asset serving for frontend

- Build React/TypeScript frontend with Tailwind CSS
  - Markdown editor with live GFM preview
  - File management UI (list, create, open, delete)
  - Theme system (Dark/Light/System) with persistence
  - Responsive design (320px mobile, 1920px desktop)

- Add comprehensive test coverage
  - Backend: API, storage, and logger tests (13 tests passing)
  - Frontend: Editor and App component tests

- Setup Nix development environment with Go, Node.js, and TypeScript
2026-02-05 17:48:23 -05:00
78f33053fb Initial: setup evaluation environment 2026-02-05 17:27:31 -05:00