Skip to content

Real-time chat with FastAPI, Next.js, and WebSockets. Secure authentication, Supabase storage, and Mistral API integration. πŸš€

Notifications You must be signed in to change notification settings

AceHomard/Ch-Ai-t

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

86 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Chat App – Real-Time Chat

Room a 2 + mistral

πŸ“Œ Introduction

This project is a real-time chat application inspired by services like IRC and Discord. Users can chat with each other and ask questions to the public Mistral API.

πŸ“ How It Works

  1. Create a User:
    Start by creating a user with a unique username to stand out.

  2. Add a Friend:
    Once logged in, you can search for other users and send them a friend request to chat privately.

  3. Create a Chat Room:
    Create a chat room where you and your friends can talk together. You can invite your friends to join the conversation.

  4. Interact with Mistral:
    To ask Mistral a question, simply use the /mistral command before your prompt, like this: /mistral Capital of France?. This sends your question directly to the Mistral API.

πŸ› οΈ Technologies Used

Frontend

Backend

  • FastAPI (Python)
  • Supabase for the database
  • WebSockets for real-time communication

πŸš€ Features

  • πŸ’¬ Real-time chat with WebSockets
  • πŸ” JWT Authentication (FastAPI & Next.js)
  • πŸ“¦ Message storage in Supabase
  • 🌐 Modern and responsive UI with Tailwind

About

Real-time chat with FastAPI, Next.js, and WebSockets. Secure authentication, Supabase storage, and Mistral API integration. πŸš€

Topics

Resources

Stars

Watchers

Forks