chat Tailwind Templates

Chat

A very basic FastAPI, SolidJS, Tailwind CSS, WebSocket chat app

Basic Chat App

This is a learning project containing a super basic websocket-based chat app.

Purpose

  • Revisit FastAPI
  • Learn SolidJS and compare with React
  • Refresh TailwindCSS skills
  • Refresh WebSocket skills

Stack

Installation and Running

Prerequisites

  • Python 3.11 (older versions untested but might work)
  • poetry
  • Node/npm

Installation

git clone [email protected]:wylee/chat.git
cd chat
poetry install
npm install
poetry shell

Runnning

run api

# In another terminal
run ui 

Now you can open multiple browser tabs, go to http://localhost:3000/, set a username in each tab, and chat with yourself.

Top categories

Loading Svelte Themes