A favicon of Web Chat Application

Web Chat Application

Build interactive chat experiences with ease. Leverage the power of Next.js to create a responsive and dynamic web chat application that updates in real-time as you develop.

Installation

Installing for Claude Desktop

Option 1: One-Command Installation

npx mcpbar@latest install WebChatAppAi/webchat -c claude

This command will automatically install and configure the Web Chat Application MCP server for your selected client.

Option 2: Manual Configuration

Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

After opening your configuration file, copy and paste this configuration:

View JSON configuration
{
  "mcpServers": {
    "Web Chat Application": {
      "command": "npx",
      "args": [
        "-y",
        "chat-app"
      ],
      "env": {}
    }
  }
}

WebChat Application

Next.js TypeScript Prisma TailwindCSS License

πŸ“Œ Overview

A modern real-time web chat application built with Next.js, Prisma, and NextAuth.js. This application provides secure authentication and real-time messaging capabilities in a sleek, responsive interface.

✨ Features

  • Real-time messaging
  • Email-based authentication with NextAuth.js
  • SQLite database with Prisma ORM
  • Responsive UI with Tailwind CSS

πŸš€ Getting Started

Prerequisites

  • Node.js (v14 or later recommended)
  • npm or yarn
  • [Any other prerequisites]

Installation

  1. Clone the repository

    git clone https://github.com/WebChatAppAi/webchat.git
    cd webchat
    
  2. Install dependencies

    npm install
    # or
    yarn install
    
  3. Create a .env file in the root directory with the following variables:

    # Prisma
    DATABASE_URL="file:./dev.db"
    
    # NextAuth.js
    # Generate a random string for NEXTAUTH_SECRET (e.g., using `openssl rand -base64 32` or an online generator)
    NEXTAUTH_SECRET="your_nextauth_secret"
    NEXTAUTH_URL="http://localhost:3000" # Replace with your deployment URL in production
    
    # Email Provider (for NextAuth.js)
    # For development, NextAuth will log email links to the console if you don't provide real email credentials
    EMAIL_SERVER_HOST="smtp.your-email-provider.com"
    EMAIL_SERVER_PORT="465"
    EMAIL_SERVER_USER="[email protected]"
    EMAIL_SERVER_PASSWORD="your-email-password"
    EMAIL_FROM="[email protected]"
    
  4. Start the development server

    npm run dev
    # or
    yarn dev
    

πŸ› οΈ Technologies Used

  • Frontend & Backend: Next.js 14 (App Router)
  • Language: TypeScript
  • Database: SQLite with Prisma ORM
  • Authentication: NextAuth.js
  • Styling: TailwindCSS
  • UI Components: Shadcn UI

πŸ“‹ Project Structure

webchat/
β”œβ”€β”€ prisma/            # Prisma schema and migrations
β”œβ”€β”€ public/            # Static assets
β”œβ”€β”€ src/               # Next.js application code
β”‚   β”œβ”€β”€ app/           # App router pages and components
β”‚   β”œβ”€β”€ components/    # Reusable UI components
β”‚   └── lib/           # Utility functions and configurations
β”œβ”€β”€ .env               # Environment variables (not committed)
β”œβ”€β”€ .gitignore         # Git ignore rules
β”œβ”€β”€ next.config.ts     # Next.js configuration
└── README.md          # This file

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

Share:
Details:
  • Stars


    0
  • Forks


    1
  • Last commit


    26 days ago
  • Repository age


    4 months
View Repository

Auto-fetched from GitHub .

MCP servers similar to Web Chat Application:

Β 

Β 
Β 
  • Stars


  • Forks


  • Last commit


Β 

Β 
Β 
  • Stars


  • Forks


  • Last commit


Β 

Β 
Β 
  • Stars


  • Forks


  • Last commit


Web Chat Application: MCP Server – MCP.Bar