Skip to content

dsegovia90/chatr

Repository files navigation

Chatr

A simple slack-like chat using SurrealDB. Built as a proof of concept, to test out live queries. Will potentially add authentication later on.

To test yourself, run on development and open in two separate browser tabs/windows.

Chatr screenshot

Developing

Download surrealdb cli.

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

On a separate terminal, run

surreal start memory --log trace

Then run

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

This app is not optimize for build. Just a dev environment to test surrealdb.