An elegant platform for collecting anonymous feedback and messages. True Feedback helps you gather honest insights by providing a simple way for others to share feedback without revealing their identity.
- Anonymous Messaging: Allow others to send you completely anonymous feedback
- User Dashboard: Manage and view all received messages in one place
- Privacy Controls: Toggle message acceptance on/off as needed
- Shareable Profile Links: Easily share your unique profile link to receive feedback
- Responsive Design: Optimized for all devices - mobile, tablet, and desktop
- User Authentication: Secure login and registration system
- Message Management: Delete unwanted messages or save important ones
-
Frontend:
- Next.js 14 with App Router
- React 18
- TypeScript
- Tailwind CSS
- Shadcn UI Components
- Lucide Icons
-
Backend:
- Next.js API Routes
- MongoDB for data storage
- NextAuth.js for authentication
- Node.js 18.x or later
- npm or yarn
- MongoDB instance (local or Atlas)
-
Clone the repository:
git clone https://github.com/bPavan16/feedbackhub.git cd feedbackhub -
Install dependencies:
npm install # or yarn install -
Set up environment variables: Create a
.env.localfile in the root directory with the following variables:DATABASE_URL=your_mongodb_connection_string NEXTAUTH_SECRET=your_nextauth_secret NEXTAUTH_URL=http://localhost:3000 -
Run the development server:
npm run dev # or yarn dev -
Open http://localhost:3000 in your browser to see the application.
- Navigate to the Sign Up page
- Enter your desired username, email, and password
- Verify your email if required
- Log in with your new credentials
- Share your unique profile link with others (
yourdomain.com/u/yourusername) - Recipients can send anonymous messages through your profile page
- View and manage all received messages in your dashboard
- Access your dashboard to see all received messages
- Toggle the "Accept Messages" switch to control whether new messages are allowed
- Delete any unwanted messages with the trash icon
- View message timestamps and other details
feedbackhub/
├── src/
│ ├── app/
│ │ ├── (app)/ # Main application routes
│ │ │ ├── dashboard/ # User dashboard
│ │ │ └── page.tsx # Home page
│ │ ├── (auth)/ # Authentication routes
│ │ │ ├── sign-in/ # Sign in page
│ │ │ └── sign-up/ # Sign up page
│ │ └── u/[username]/ # Public user profile pages
│ ├── components/ # Reusable UI components
│ │ ├── ui/ # Base UI components
│ │ ├── MessageCard.tsx # Message display component
│ │ └── Navbar.tsx # Navigation component
│ ├── context/ # React context providers
│ ├── model/ # Data models
│ ├── schemas/ # Validation schemas
│ └── types/ # TypeScript type definitions
└── public/ # Static files
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Developed with ❤️ by [PavanHb]