NeuraTalk.ai is an AI-powered chat application built with Next.js, Redux Toolkit, and Google's Generative AI and EchoGPT. It enables seamless interactions with AI models, offering real-time conversations and responses.
- AI-powered chat system
- User authentication with NextAuth.js
- State management using Redux Toolkit
- DaisyUI & TailwindCSS for a modern UI
- MongoDB for database storage
- Toast notifications with react-hot-toast
- Lucide-react icons for a better user experience
- Speech Recognition for voice input (using Web Speech API)
- Frontend: Next.js (React 19), DaisyUI, TailwindCSS
- State Management: Redux Toolkit
- Authentication: NextAuth.js
- Backend: Next.js API Routes
- Database: MongoDB
- AI Integration: Google Generative AI API
- Clone the repository:
git clone https://github.com/Sushanto171/neuraTalk.ai cd neuratalk.ai
- Install dependencies:
npm install
- Create a
.env.local
file and add the following:NEXT_PUBLIC_BASE_URL=http://localhost:3000 GOOGLE_AI_API_KEY=your_google_ai_api_key NEXTAUTH_SECRET=your_nextauth_secret MONGODB_URI=your_mongodb_connection_string
- Run the development server:
The app will be available at
npm run dev
http://localhost:3000
├── src
│ ├── app # Next.js App Router
│ ├── components # UI components
│ ├── lib # Store & API handlers
│ ├── pages # Auth & dynamic routes
│ ├── public # Static assets
│ ├── styles # Global styles
└── .env.local # Environment variables
- Chat with AI: Enter a prompt and receive AI-generated responses.
- Authentication: Secure login system using NextAuth.
- Manage state: Redux handles global state management efficiently.
{
"@google/generative-ai": "^0.24.0",
"@reduxjs/toolkit": "^2.6.1",
"axios": "^1.8.2",
"daisyui": "^5.0.0",
"lucide-react": "^0.479.0",
"mongodb": "^6.14.2",
"next": "15.2.1",
"next-auth": "^5.0.0-beta.25",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-hot-toast": "^2.5.2",
"react-icons": "^5.5.0",
"react-redux": "^9.2.0"
}
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Commit your changes (
git commit -m 'Add new feature'
) - Push to your branch (
git push origin feature-branch
) - Create a Pull Request
This project is open-source and available under the MIT License.
Developed with ❤️ by Sushanto kumar 🚀