How ilyass-lr/react-go-todo-app works
Project type and purpose
• This is a full-stack Todo application built with a React/TypeScript front end and a Go (Fiber) back end.
• Purpose: provide a modern, responsive UI with full CRUD task management, theme switching, real-time updates, and cloud-hosted persistence.
File structure
• Top-level files and directories:
– main.go, go.mod, go.sum, air.toml: Go back-end entrypoint, module definitions, live-reload config
– client/: React front-end project using Vite, TypeScript, Chakra UI, TanStack Query
– README.md, .gitignore: documentation and ignore rules
• client/src/components: core UI widgets (Navbar, TodoForm, TodoItem, TodoList)
• client/src/components/ui: shared UI providers (theme, toaster, tooltip)
• client/vite.config.ts, tsconfig*.json: build and TypeScript configuration
• No separate “backend” folder—Go code lives at the project root in main.go (likely organized into handlers, models, middleware internally)
README for additional insights
• Tech stack calls out React 19.1, TypeScript 5.8, Chakra UI v3, TanStack Query, Vite, Go 1.24.4, Fiber 2.52, MongoDB Atlas
• Features: dark/light theme, full CRUD, status badges, responsive design, real-time updates, error handling
• Backend exposes HTTP API on /api routes; environment variables configure MongoDB_URI, PORT, ENV
• Deployment on Railway with automatic port injection
– Blue rectangles for front-end components
– Green rectangles for back-end components