DeepSeek is a full-stack MERN (MongoDB, Express, React, Node.js) project that provides a seamless user experience for managing and interacting with AI-powered chat functionalities. This project leverages modern technologies like Next.js, Tailwind CSS, and Clerk for authentication.
- AI-powered chat using OpenAI's API.
- User authentication and management with Clerk.
- Responsive design with Tailwind CSS.
- MongoDB for database management.
Before cloning and running this project, ensure you have the following installed on your system:
- Node.js (v16 or later)
- npm or yarn
- MongoDB Atlas account or local MongoDB instance
Follow these steps to set up the project on your local machine:
Install the required dependencies using npm or yarn. For a detailed list of dependencies, refer to the Dependencies section at the bottom of this README:
npm install
# or
yarn installCreate a .env file in the root directory and add the following environment variables:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
MONGODB_URI=your_mongodb_connection_string
SIGNING_SECRET=your_signing_secret
DEEPSEEK_API_KEY=your_deepseek_api_keyReplace the placeholder values with your actual credentials.
Start the development server:
npm run devThe application will be available at http://localhost:3000.
To build the application for production, run:
npm run buildAfter building, you can start the production server:
npm startThe following dependencies are required to run this project:
@clerk/nextjs: ^6.14.3axios: ^1.8.4mongoose: ^8.13.2next: 15.3.0openai: ^4.93.0prismjs: ^1.30.0react: ^19.0.0react-dom: ^19.0.0react-hot-toast: ^2.5.2react-markdown: ^10.1.0svix: ^1.64.0
@eslint/eslintrc: ^3@tailwindcss/postcss: ^4autoprefixer: ^10.4.21eslint: ^9eslint-config-next: 15.3.0postcss: ^8.5.3tailwindcss: ^4.1.3
To install all dependencies, run:
npm installapp/: Contains the Next.js application files.components/: Reusable React components.config/: Configuration files, including database connection.context/: React context for global state management.models/: Mongoose models for MongoDB collections.assets/: Static assets like images and icons.public/: Publicly accessible files.





