This is a full-stack web application built with the MERN (MongoDB, Express, React, Node.js) stack. It utilizes the Gemini API for chat bot functionality.
- User authentication (Sign Up, Log In, Log Out)
- Chat bot functionality powered by the Gemini API
- Real-time chat interface
- MongoDB database for storing user data and chat history
- Responsive user interface
- MongoDB: https://www.mongodb.com/
- Express.js: https://expressjs.com/
- React.js: https://reactjs.org/
- Node.js: https://nodejs.org/
- Gemini API: Gemini API Documentation
- Node.js installed on your machine
- MongoDB installed and running locally or a MongoDB Atlas account
- Clone the repository
- Navigate to the project directory
- Install dependencies - npm install
- Create a .env file:Create a .env file in the root directory of the project.
- Define environment variables:Define the following environment variables in the .env file:
- MONGODB_URI=<your_mongodb_connection_string>
- VITE_API_GENERATIVE_LANGUAGE_CLIENT=<your_gemini_api_key>
- npm run build
- npm run dev
Access the application:Open your browser and go to localhost.