REST API Documentation

Customer Feedback
Management API

Centralized feedback tracking and real-time analytics — built for developers who move fast.

Base URL https://cufe.up.railway.app/
🔐

Secure Auth

JWT-based authentication

📝

Full CRUD

Complete feedback operations

🔍

Search & Filter

Advanced query support

📊

Analytics

Real-time dashboard stats

Endpoints 13 routes

🔐
Authentication 3 routes
POST /auth/register Create account
POST /auth/login Get JWT token
POST /auth/logout Invalidate session
📝
Feedback 5 routes
GET /feedback List all feedback
POST /feedback Create feedback
GET /feedback/:id Get one feedback
PATCH /feedback/:id Update feedback
DELETE /feedback/:id Delete feedback
👤
Customers 3 routes
GET /customers List customers
POST /customers Create customer
GET /customers/search Search customers
📊
Dashboard 2 routes
GET /dashboard Get statistics
GET /dashboard/recent-activity Recent events
🔑

Authentication Required

All endpoints except /auth/* require a valid JWT token passed in the Authorization header.

Authorization: Bearer YOUR_TOKEN_HERE