Skip to content

dayvidwhy/simple-chat

Repository files navigation

Simple Chat

GitHub last commit GitHub issues GitHub pull requests GitHub

Simple chat implementation leveraging Remixjs for the frontend and Prisma ORM for SQLite database management.

Features

  • Real-time chat messages
  • Easy setup with Remixjs and SQLite
  • Lightweight and fast

Install

Clone the repository and start development mode.

git clone git@github.com:dayvidwhy/simple-chat.git
cd simple-chat
npm i
npm run db:migrate
npm run dev

Project uses NVM for node version.

# Set node to 21
nvm use

Usage

After installation, the application will be available on http://localhost:3000. Visit this URL in your web browser to start using the chat application.

Database Configuration

The project uses SQLite, managed through Prisma. Here are some useful commands for database management:

# Migrate the db on schema change
npm run db:migrate

# View the db
npm run db:view

About

💬 Real-time messaging from multiple chatters using Remix, Remix-Auth, socket.io and Prisma.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published