{"id":19756968,"url":"https://github.com/prabal-verma/realfeedback","last_synced_at":"2026-04-12T13:02:28.048Z","repository":{"id":252661009,"uuid":"813389065","full_name":"Prabal-verma/realfeedback","owner":"Prabal-verma","description":"TrueFeedback is a Next.js application designed ✒️ to facilitate anonymous messaging between users. It incorporates the OpenAI ChatGPT API to generate random prompts, encouraging interaction. With separate interfaces for sending and receiving messages 📩 and secure authentication via NextAuth 🔒, TrueFeedback ensures a user-friendly and confidential","archived":false,"fork":false,"pushed_at":"2024-07-07T18:10:20.000Z","size":872,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T09:19:30.935Z","etag":null,"topics":["authentication","mongodb","nextjs","react-hook-form","shadcn-ui","zod"],"latest_commit_sha":null,"homepage":"https://truefeedback.prabalverma.me","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Prabal-verma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-11T01:56:29.000Z","updated_at":"2024-11-26T13:42:54.000Z","dependencies_parsed_at":"2024-08-11T16:37:59.965Z","dependency_job_id":null,"html_url":"https://github.com/Prabal-verma/realfeedback","commit_stats":null,"previous_names":["prabal-verma/realfeedback"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Prabal-verma/realfeedback","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prabal-verma%2Frealfeedback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prabal-verma%2Frealfeedback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prabal-verma%2Frealfeedback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prabal-verma%2Frealfeedback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prabal-verma","download_url":"https://codeload.github.com/Prabal-verma/realfeedback/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prabal-verma%2Frealfeedback/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31715492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","mongodb","nextjs","react-hook-form","shadcn-ui","zod"],"created_at":"2024-11-12T03:17:36.903Z","updated_at":"2026-04-12T13:02:28.030Z","avatar_url":"https://github.com/Prabal-verma.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TrueFeedback\n\nTrueFeedback is a Next.js application built with TypeScript that allows users to send and receive anonymous messages. It also leverages the OpenAI ChatGPT API to generate random questions or prompts to encourage interaction. The application features two main interfaces: one for viewing received messages and another for sending anonymous messages. Authentication is implemented using NextAuth.\n\n## UI DEMO\n### HOME PAGE\n![image](./demo.png \"Title\")\n### DASHBOARD PAGE\n![image](./demo-1.png \"Title\")\n### PUBLIC PAGE\n![image](./demo-2.png \"Title\")\n\n## Table of Contents\n\n- [Features](#features)\n- [Tech Stack](#tech-stack)\n- [Getting Started](#getting-started)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n  - [Running the Application](#running-the-application)\n- [Configuration](#configuration)\n- [Project Structure](#project-structure)\n- [API Endpoints](#api-endpoints)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n\n- **Anonymous Messaging**: Users can send and receive anonymous messages.\n- **ChatGPT Integration**: Generates random prompts or questions using the OpenAI API.\n- **Authentication**: Secure user authentication with NextAuth.\n- **User Interfaces**: Separate interfaces for sending and receiving messages.\n- **Responsive Design**: Optimized for both desktop and mobile devices.\n\n## Tech Stack\n\n- **Frontend**: Next.js, TypeScript\n- **Authentication**: NextAuth.js\n- **API**: OpenAI ChatGPT API\n- **Styling**: CSS Modules / Styled Components / Tailwind CSS (choose your preferred method)\n- **Database**: (e.g., MongoDB, PostgreSQL - specify based on your setup)\n\n## Getting Started\n\n### Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n- Node.js (\u003e= 14.x)\n- npm or yarn\n- A MongoDB or PostgreSQL database instance (if using a database)\n- An OpenAI API key\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/prabal-verma/truefeedback.git\n   cd truefeedback\n2. Install dependencies:\n\n```bash\nnpm install\n# or\nyarn install\n```\n3. ## Running the Application\n\nCreate a `.env.local` file in the root directory and add the following environment variables:\n\n```env\nNEXTAUTH_URL=http://localhost:3000\nNEXTAUTH_SECRET=your_nextauth_secret\nOPENAI_API_KEY=your_openai_api_key\nDATABASE_URL=your_database_url\n```\n\n4. ## Running the Development Server\n\nRun the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n\n  ```\n\n## Configuration\n\n- **NextAuth**: Configure providers, callbacks, and other options in `pages/api/auth/[...nextauth].ts`.\n- **OpenAI API**: Use the OpenAI API key in your server-side logic to generate random messages.\n\n## Project Structure\n```\ntruefeedback/\n├── components/\n│ ├── MessageList.tsx\n│ ├── SendMessageForm.tsx\n│ └── ...\n├── pages/\n│ ├── api/\n│ │ ├── auth/\n│ │ │ └── [...nextauth].ts\n│ │ ├── messages.ts\n│ │ └── ...\n│ ├── index.tsx\n│ ├── send.tsx\n│ └── ...\n├── public/\n│ └── ...\n├── styles/\n│ ├── globals.css\n│ └── ...\n├── utils/\n│ ├── openai.ts\n│ └── ...\n├── .env.local\n├── next.config.js\n├── package.json\n└── README.md\n```\n\n## API Endpoints\n\n- **GET /api/messages**: Fetch received messages for the authenticated user.\n- **POST /api/messages**: Send a new anonymous message.\n- **GET /api/generate-prompt**: Generate a random prompt using ChatGPT.\n\n## Contributing\n\nWe welcome contributions! Please follow these steps to contribute:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bugfix.\n3. Commit your changes with clear messages.\n4. Push your changes to your fork.\n5. Create a pull request to the main branch of the original repository.\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprabal-verma%2Frealfeedback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprabal-verma%2Frealfeedback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprabal-verma%2Frealfeedback/lists"}