This is a full-stack application built with Next.js that enables users to send anonymous messages to others. It offers user authentication, database integration, and AI-powered message suggestions to enhance user engagement.
-
Anonymous Messaging:
- Users can send and receive messages anonymously.
- Recipients can choose to opt-in or opt-out of receiving messages.
-
Authentication:
- Secure user authentication using NextAuth.js.
- Protected routes ensure only authenticated users can access certain features.
-
CRUD Functionality:
- Allows users to create, read, update, and delete messages seamlessly.
-
AI Integration:
- Provides intelligent suggestions and conversation starters for messages using AI.
-
Responsive Design:
- Fully optimized for mobile, tablet, and desktop devices.
- Next.js (React Framework)
- CSS Modules for styling
- Next.js API Routes
- NextAuth.js for authentication
- MongoDB Atlas for storing user and message data
- OpenAI API for generating message suggestions
Create a .env file in the root directory and add the following variables:
- RESEND_API_KEY = your-api-key-for-resend-email-service
- NEXTAUTH_SECRET = your-random-secret
- MONGODB_URI = your-mongodb-connection-string
- OPENAI_API_KEY = your-openai-api-key
Replace placeholders with your actual credentials.
- Node.js (v18+)
- MongoDB Atlas account
-
Clone the repository:
git clone https://github.com/Harsh-710/True_Feedback.git
-
Install dependencies:
cd true-feedback npm install -
Start the development server:
npm run dev
-
Open your browser and navigate to:
http://localhost:3000
- Add real-time messaging with WebSockets.
- Implement message reporting and moderation.
- Enhance AI suggestions with personalized preferences
- Contributions are welcome! Please fork the repository and submit a pull request for any bug fixes or new features.