Welcome to the AI Chatbot project! This repository contains a full-stack application built with the MERN stack (MongoDB, Express, React, Node.js) designed to provide a sophisticated chat experience similar to ChatGPT.
- Complete MERN Stack Integration: A comprehensive guide to setting up and using MongoDB, Express, React, and Node.js together.
- User Authentication and Authorization: Secure login and registration with custom authentication systems and JWT tokens.
- Data Validation: Implementing express-validator middleware for robust data validation.
- Chat Storage: User messages and chat histories are stored in MongoDB.
- JWT Authorization Tokens: Using JWT tokens and HTTP-only cookies for secure authentication.
- Protected Routes: Routes protected with verification checks to ensure only authorized users have access.
- Modern React App: Built with Vite for a fast and modern development experience.
- Beautiful Chat UI: Designed using the Material UI library for a clean and responsive chat interface.
- Responsive Design: Ensuring the application is fully responsive across different devices.
- OpenAI Integration: Seamless integration with OpenAI’s API for chatbot functionalities.
- User Session Management: Handling and storing user sessions effectively.