Skip to content

Swendoz/Go-Feedback-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Feedback Collection System

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.

Features

  • 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

Quick Start

go run main.go

The server will start on http://localhost:8080

  • Visit /add to submit feedback
  • Visit /list to view all feedback
  • Use /feedback endpoint for API access

API Endpoints

  • GET /feedback - Retrieve all feedback entries
  • POST /feedback - Submit new feedback (JSON body with name, message, rating)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages