Implements full markdown editor application with: Backend (Go): - Cobra CLI with --data-dir, --port, --host flags - REST API for CRUD operations on markdown files - File storage on disk with flat structure - Logrus logging for all operations - Static asset serving for frontend - Comprehensive tests for CRUD and static assets Frontend (React + TypeScript + Tailwind): - Markdown editor with live GFM preview - File management UI (list, create, open, save, delete) - Theme system (Dark, Light, System) with persistence - Responsive design (320px to 1920px) - Component tests for core functionality Integration: - Full CRUD workflow from frontend to backend - Static asset serving verified - All tests passing (backend: 2/2, frontend: 6/6) Files added: - Backend: API handler, logger, server, tests - Frontend: Components, tests, config files - Build artifacts: compiled backend binary and frontend dist - Documentation: README and implementation summary
20 lines
514 B
Modula-2
20 lines
514 B
Modula-2
module github.com/evanreichard/markdown-editor
|
|
|
|
go 1.21
|
|
|
|
require (
|
|
github.com/gorilla/mux v1.8.1
|
|
github.com/sirupsen/logrus v1.9.3
|
|
github.com/spf13/cobra v1.7.0
|
|
github.com/stretchr/testify v1.7.0
|
|
)
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|