A lightweight web application built with Go for collecting and managing user feedback. The system accepts feedback submissions with name, message, and rating (1-5), storing them in NDJSON format with asynchronous file writing using Go channels and goroutines.
- Web Interface: Simple HTML pages for adding and viewing feedback
- REST API: JSON endpoints for submitting and retrieving feedback
- Async Processing: Channel-based queue system for efficient file I/O
- Persistent Storage: Feedback stored in NDJSON format
go run main.goThe server will start on http://localhost:8080
- Visit
/addto submit feedback - Visit
/listto view all feedback - Use
/feedbackendpoint for API access
GET /feedback- Retrieve all feedback entriesPOST /feedback- Submit new feedback (JSON body with name, message, rating)